home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: Mailbox/MIME Entity
(archive/mbox).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| Mailbox/MIME Entity (archive/mbox)
| magic
| Supported |
100%
| dexvert
| Internet Message Format (text/imf)
| magic
| Supported |
66%
| dexvert
| SHell self-extracting ARchive (archive/shar)
| ext
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| Mailbox text, 1st line "From wietse@wzv.win.tue.nl Wed Mar 24 23:37:23 1993", ASCII text
| default
| |
100%
| TrID
| E-Mail message (Var. 2)
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| detectItEasy
| Format: Plain text[LF]
| default
| |
100%
| xdgMime
| application/mbox
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 46 72 6f 6d 20 77 69 65 | 74 73 65 40 77 7a 76 2e |From wie|tse@wzv.|
|00000010| 77 69 6e 2e 74 75 65 2e | 6e 6c 20 20 57 65 64 20 |win.tue.|nl Wed |
|00000020| 4d 61 72 20 32 34 20 32 | 33 3a 33 37 3a 32 33 20 |Mar 24 2|3:37:23 |
|00000030| 31 39 39 33 0a 52 65 63 | 65 69 76 65 64 3a 20 66 |1993.Rec|eived: f|
|00000040| 72 6f 6d 20 73 76 69 6e | 30 31 2e 77 69 6e 2e 74 |rom svin|01.win.t|
|00000050| 75 65 2e 6e 6c 20 62 79 | 20 73 76 62 73 30 31 2e |ue.nl by| svbs01.|
|00000060| 62 73 2e 77 69 6e 2e 74 | 75 65 2e 6e 6c 20 28 34 |bs.win.t|ue.nl (4|
|00000070| 2e 31 2f 31 2e 34 35 29 | 0a 20 20 20 20 69 64 20 |.1/1.45)|. id |
|00000080| 41 41 31 36 37 32 38 3b | 20 57 65 64 2c 20 32 34 |AA16728;| Wed, 24|
|00000090| 20 4d 61 72 20 39 33 20 | 32 33 3a 33 37 3a 32 33 | Mar 93 |23:37:23|
|000000a0| 20 2b 30 31 30 30 0a 52 | 65 63 65 69 76 65 64 3a | +0100.R|eceived:|
|000000b0| 20 66 72 6f 6d 20 73 76 | 69 6e 30 39 2e 69 6e 66 | from sv|in09.inf|
|000000c0| 6f 2e 77 69 6e 2e 74 75 | 65 2e 6e 6c 20 62 79 20 |o.win.tu|e.nl by |
|000000d0| 73 76 69 6e 30 31 2e 77 | 69 6e 2e 74 75 65 2e 6e |svin01.w|in.tue.n|
|000000e0| 6c 20 28 34 2e 31 2f 31 | 2e 34 35 29 0a 20 20 20 |l (4.1/1|.45). |
|000000f0| 20 69 64 20 41 41 30 30 | 34 37 31 3b 20 57 65 64 | id AA00|471; Wed|
|00000100| 2c 20 32 34 20 4d 61 72 | 20 39 33 20 32 33 3a 33 |, 24 Mar| 93 23:3|
|00000110| 37 3a 31 38 20 2b 30 31 | 30 30 0a 52 65 63 65 69 |7:18 +01|00.Recei|
|00000120| 76 65 64 3a 20 66 72 6f | 6d 20 77 7a 76 2e 77 69 |ved: fro|m wzv.wi|
|00000130| 6e 2e 74 75 65 2e 6e 6c | 20 62 79 20 73 76 69 6e |n.tue.nl| by svin|
|00000140| 30 39 2e 69 6e 66 6f 2e | 77 69 6e 2e 74 75 65 2e |09.info.|win.tue.|
|00000150| 6e 6c 20 28 34 2e 31 2f | 31 2e 34 35 29 0a 20 20 |nl (4.1/|1.45). |
|00000160| 20 20 69 64 20 41 41 30 | 32 33 36 36 3b 20 57 65 | id AA0|2366; We|
|00000170| 64 2c 20 32 34 20 4d 61 | 72 20 39 33 20 32 33 3a |d, 24 Ma|r 93 23:|
|00000180| 33 33 3a 30 34 20 2b 30 | 31 30 30 0a 52 65 63 65 |33:04 +0|100.Rece|
|00000190| 69 76 65 64 3a 20 62 79 | 20 77 7a 76 2e 77 69 6e |ived: by| wzv.win|
|000001a0| 2e 74 75 65 2e 6e 6c 20 | 28 34 2e 31 2f 31 2e 34 |.tue.nl |(4.1/1.4|
|000001b0| 35 29 0a 20 20 20 20 69 | 64 20 41 41 30 31 33 31 |5). i|d AA0131|
|000001c0| 34 3b 20 57 65 64 2c 20 | 32 34 20 4d 61 72 20 39 |4; Wed, |24 Mar 9|
|000001d0| 33 20 32 33 3a 30 36 3a | 32 35 20 2b 30 31 30 30 |3 23:06:|25 +0100|
|000001e0| 0a 44 61 74 65 3a 20 57 | 65 64 2c 20 32 34 20 4d |.Date: W|ed, 24 M|
|000001f0| 61 72 20 39 33 20 32 33 | 3a 30 36 3a 32 35 20 2b |ar 93 23|:06:25 +|
|00000200| 30 31 30 30 0a 46 72 6f | 6d 3a 20 77 69 65 74 73 |0100.Fro|m: wiets|
|00000210| 65 40 77 7a 76 2e 77 69 | 6e 2e 74 75 65 2e 6e 6c |e@wzv.wi|n.tue.nl|
|00000220| 20 28 57 69 65 74 73 65 | 20 56 65 6e 65 6d 61 29 | (Wietse| Venema)|
|00000230| 0a 4d 65 73 73 61 67 65 | 2d 49 64 3a 20 3c 39 33 |.Message|-Id: <93|
|00000240| 30 33 32 34 32 32 30 36 | 2e 41 41 30 31 33 31 34 |03242206|.AA01314|
|00000250| 40 77 7a 76 2e 77 69 6e | 2e 74 75 65 2e 6e 6c 3e |@wzv.win|.tue.nl>|
|00000260| 0a 54 6f 3a 20 65 63 64 | 40 63 65 72 74 2e 6f 72 |.To: ecd|@cert.or|
|00000270| 67 0a 53 75 62 6a 65 63 | 74 3a 20 74 63 70 20 77 |g.Subjec|t: tcp w|
|00000280| 72 61 70 70 65 72 20 72 | 65 76 65 61 6c 73 20 53 |rapper r|eveals S|
|00000290| 75 6e 4f 53 20 34 2e 78 | 20 6b 65 72 6e 65 6c 20 |unOS 4.x| kernel |
|000002a0| 62 75 67 0a 43 63 3a 20 | 77 73 77 69 65 74 73 65 |bug.Cc: |wswietse|
|000002b0| 40 77 69 6e 2e 74 75 65 | 2e 6e 6c 0a 53 74 61 74 |@win.tue|.nl.Stat|
|000002c0| 75 73 3a 20 4f 52 0a 0a | 54 68 65 20 6e 65 77 20 |us: OR..|The new |
|000002d0| 77 72 61 70 70 65 72 20 | 72 65 6c 65 61 73 65 20 |wrapper |release |
|000002e0| 63 61 75 73 65 73 20 6f | 63 63 61 73 69 6f 6e 61 |causes o|ccasiona|
|000002f0| 6c 20 6b 65 72 6e 65 6c | 20 70 61 6e 69 63 73 20 |l kernel| panics |
|00000300| 77 69 74 68 20 53 75 6e | 4f 53 20 34 2e 78 2e 0a |with Sun|OS 4.x..|
|00000310| 54 68 65 72 65 20 69 73 | 20 61 20 62 75 67 20 69 |There is| a bug i|
|00000320| 6e 20 74 68 65 20 67 65 | 74 73 6f 63 6b 6f 70 74 |n the ge|tsockopt|
|00000330| 28 29 20 73 79 73 74 65 | 6d 20 63 61 6c 6c 20 69 |() syste|m call i|
|00000340| 6d 70 6c 65 6d 65 6e 74 | 61 74 69 6f 6e 2e 0a 0a |mplement|ation...|
|00000350| 47 65 74 73 6f 63 6b 6f | 70 74 28 29 20 77 61 73 |Getsocko|pt() was|
|00000360| 20 75 73 65 64 20 74 6f | 20 64 65 74 65 63 74 20 | used to| detect |
|00000370| 73 6f 75 72 63 65 2d 72 | 6f 75 74 69 6e 67 20 61 |source-r|outing a|
|00000380| 74 74 61 63 6b 73 2e 20 | 54 68 61 74 20 63 6f 64 |ttacks. |That cod|
|00000390| 65 20 77 61 73 0a 65 6e | 61 62 6c 65 64 20 62 79 |e was.en|abled by|
|000003a0| 20 64 65 66 61 75 6c 74 | 2e 20 49 20 68 61 76 65 | default|. I have|
|000003b0| 20 63 68 61 6e 67 65 64 | 20 74 68 69 73 3a 20 62 | changed| this: b|
|000003c0| 79 20 64 65 66 61 75 6c | 74 20 74 68 65 20 63 6f |y defaul|t the co|
|000003d0| 64 65 20 6e 6f 20 6c 6f | 6e 67 65 72 0a 74 72 69 |de no lo|nger.tri|
|000003e0| 65 73 20 74 6f 20 65 78 | 70 6f 73 65 20 73 6f 75 |es to ex|pose sou|
|000003f0| 72 63 65 2d 72 6f 75 74 | 69 6e 67 20 61 74 74 61 |rce-rout|ing atta|
|00000400| 63 6b 73 2e 0a 0a 54 68 | 65 20 72 65 73 75 6c 74 |cks...Th|e result|
|00000410| 20 6f 66 20 74 68 69 73 | 20 65 66 66 6f 72 74 20 | of this| effort |
|00000420| 69 73 20 62 65 6c 6f 77 | 2e 20 43 68 61 6e 67 65 |is below|. Change|
|00000430| 73 20 77 65 72 65 20 6d | 61 64 65 20 6f 6e 6c 79 |s were m|ade only|
|00000440| 20 74 6f 20 74 68 65 0a | 64 6f 63 75 6d 65 6e 74 | to the.|document|
|00000450| 61 74 69 6f 6e 2c 20 74 | 6f 20 74 68 65 20 4d 61 |ation, t|o the Ma|
|00000460| 6b 65 66 69 6c 65 2c 20 | 61 6e 64 20 74 6f 20 74 |kefile, |and to t|
|00000470| 68 65 20 70 61 74 63 68 | 6c 65 76 65 6c 2e 68 20 |he patch|level.h |
|00000480| 66 69 6c 65 2e 0a 0a 50 | 6c 65 61 73 65 20 72 65 |file...P|lease re|
|00000490| 70 6c 61 63 65 20 74 68 | 65 20 77 72 61 70 70 65 |place th|e wrappe|
|000004a0| 72 20 61 72 63 68 69 76 | 65 73 20 6f 6e 20 63 65 |r archiv|es on ce|
|000004b0| 72 74 2e 6f 72 67 2e 20 | 49 20 77 69 6c 6c 20 70 |rt.org. |I will p|
|000004c0| 6f 73 74 20 61 20 73 65 | 70 61 72 61 74 65 0a 6d |ost a se|parate.m|
|000004d0| 65 73 73 61 67 65 20 74 | 6f 20 74 68 65 20 63 65 |essage t|o the ce|
|000004e0| 72 74 2d 74 6f 6f 6c 73 | 20 6d 61 69 6c 69 6e 67 |rt-tools| mailing|
|000004f0| 20 6c 69 73 74 2e 0a 0a | 09 57 69 65 74 73 65 0a | list...|.Wietse.|
|00000500| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 0a 0a |--------|------..|
|00000510| 57 69 74 68 20 74 68 65 | 20 70 72 6f 67 72 61 6d |With the| program|
|00000520| 73 20 74 68 61 74 20 63 | 6f 6d 65 20 77 69 74 68 |s that c|ome with|
|00000530| 20 74 68 69 73 20 6b 69 | 74 20 79 6f 75 20 63 61 | this ki|t you ca|
|00000540| 6e 20 6d 6f 6e 69 74 6f | 72 20 69 6e 63 6f 6d 69 |n monito|r incomi|
|00000550| 6e 67 0a 72 65 71 75 65 | 73 74 73 20 66 6f 72 20 |ng.reque|sts for |
|00000560| 49 50 20 73 65 72 76 69 | 63 65 73 20 73 75 63 68 |IP servi|ces such|
|00000570| 20 61 73 20 54 46 54 50 | 2c 20 45 58 45 43 2c 20 | as TFTP|, EXEC, |
|00000580| 46 54 50 2c 20 52 53 48 | 2c 20 54 45 4c 4e 45 54 |FTP, RSH|, TELNET|
|00000590| 2c 20 52 4c 4f 47 49 4e | 2c 0a 46 49 4e 47 45 52 |, RLOGIN|,.FINGER|
|000005a0| 2c 20 53 59 53 54 41 54 | 2c 20 61 6e 64 20 6d 61 |, SYSTAT|, and ma|
|000005b0| 6e 79 20 6f 74 68 65 72 | 73 2e 0a 0a 4f 70 74 69 |ny other|s...Opti|
|000005c0| 6f 6e 61 6c 20 66 65 61 | 74 75 72 65 73 20 61 72 |onal fea|tures ar|
|000005d0| 65 3a 20 61 63 63 65 73 | 73 20 63 6f 6e 74 72 6f |e: acces|s contro|
|000005e0| 6c 20 62 61 73 65 64 20 | 6f 6e 20 70 61 74 74 65 |l based |on patte|
|000005f0| 72 6e 20 6d 61 74 63 68 | 69 6e 67 3b 20 72 65 6d |rn match|ing; rem|
|00000600| 6f 74 65 0a 75 73 65 72 | 6e 61 6d 65 20 6c 6f 6f |ote.user|name loo|
|00000610| 6b 75 70 20 75 73 69 6e | 67 20 74 68 65 20 52 46 |kup usin|g the RF|
|00000620| 43 20 39 33 31 20 70 72 | 6f 74 6f 63 6f 6c 3b 20 |C 931 pr|otocol; |
|00000630| 70 72 6f 74 65 63 74 69 | 6f 6e 20 61 67 61 69 6e |protecti|on again|
|00000640| 73 74 20 61 74 74 61 63 | 6b 73 0a 66 72 6f 6d 20 |st attac|ks.from |
|00000650| 68 6f 73 74 73 20 74 68 | 61 74 20 70 72 65 74 65 |hosts th|at prete|
|00000660| 6e 64 20 74 6f 20 68 61 | 76 65 20 73 6f 6d 65 6f |nd to ha|ve someo|
|00000670| 6e 65 20 65 6c 73 65 73 | 20 6e 61 6d 65 3b 20 70 |ne elses| name; p|
|00000680| 72 6f 74 65 63 74 69 6f | 6e 20 61 67 61 69 6e 73 |rotectio|n agains|
|00000690| 74 0a 61 74 74 61 63 6b | 73 20 66 72 6f 6d 20 68 |t.attack|s from h|
|000006a0| 6f 73 74 73 20 74 68 61 | 74 20 70 72 65 74 65 6e |osts tha|t preten|
|000006b0| 64 20 74 6f 20 68 61 76 | 65 20 73 6f 6d 65 6f 6e |d to hav|e someon|
|000006c0| 65 20 65 6c 73 65 73 20 | 6e 65 74 77 6f 72 6b 20 |e elses |network |
|000006d0| 61 64 64 72 65 73 73 2e | 0a 0a 54 68 65 20 70 72 |address.|..The pr|
|000006e0| 6f 67 72 61 6d 73 20 63 | 61 6e 20 62 65 20 69 6e |ograms c|an be in|
|000006f0| 73 74 61 6c 6c 65 64 20 | 77 69 74 68 6f 75 74 20 |stalled |without |
|00000700| 72 65 71 75 69 72 69 6e | 67 20 61 6e 79 20 63 68 |requirin|g any ch|
|00000710| 61 6e 67 65 73 20 74 6f | 20 65 78 69 73 74 69 6e |anges to| existin|
|00000720| 67 0a 73 6f 66 74 77 61 | 72 65 20 6f 72 20 63 6f |g.softwa|re or co|
|00000730| 6e 66 69 67 75 72 61 74 | 69 6f 6e 20 66 69 6c 65 |nfigurat|ion file|
|00000740| 73 2e 20 42 79 20 64 65 | 66 61 75 6c 74 2c 20 74 |s. By de|fault, t|
|00000750| 68 65 79 20 6a 75 73 74 | 20 6c 6f 67 20 74 68 65 |hey just| log the|
|00000760| 20 72 65 6d 6f 74 65 0a | 68 6f 73 74 20 6e 61 6d | remote.|host nam|
|00000770| 65 20 61 6e 64 20 64 6f | 20 73 6f 6d 65 20 73 61 |e and do| some sa|
|00000780| 6e 69 74 79 20 63 68 65 | 63 6b 73 20 6f 6e 20 74 |nity che|cks on t|
|00000790| 68 65 20 6f 72 69 67 69 | 6e 20 74 68 65 20 72 65 |he origi|n the re|
|000007a0| 71 75 65 73 74 2e 20 4e | 6f 0a 69 6e 66 6f 72 6d |quest. N|o.inform|
|000007b0| 61 74 69 6f 6e 20 69 73 | 20 65 78 63 68 61 6e 67 |ation is| exchang|
|000007c0| 65 64 20 77 69 74 68 20 | 74 68 65 20 72 65 6d 6f |ed with |the remo|
|000007d0| 74 65 20 63 6c 69 65 6e | 74 20 70 72 6f 63 65 73 |te clien|t proces|
|000007e0| 73 2e 0a 0a 54 68 65 20 | 6d 6f 73 74 20 6e 6f 74 |s...The |most not|
|000007f0| 61 62 6c 65 20 64 69 66 | 66 65 72 65 6e 63 65 73 |able dif|ferences|
|00000800| 20 77 69 74 68 20 72 65 | 73 70 65 63 74 20 74 6f | with re|spect to|
|00000810| 20 74 68 65 20 70 72 65 | 76 69 6f 75 73 20 72 65 | the pre|vious re|
|00000820| 6c 65 61 73 65 20 61 72 | 65 3a 0a 0a 20 20 20 20 |lease ar|e:.. |
|00000830| 2d 20 4f 70 74 69 6f 6e | 61 6c 20 70 72 6f 74 65 |- Option|al prote|
|00000840| 63 74 69 6f 6e 20 61 67 | 61 69 6e 73 74 20 61 74 |ction ag|ainst at|
|00000850| 74 61 63 6b 73 20 66 72 | 6f 6d 20 68 6f 73 74 73 |tacks fr|om hosts|
|00000860| 20 74 68 61 74 20 70 72 | 65 74 65 6e 64 20 74 6f | that pr|etend to|
|00000870| 0a 20 20 20 20 68 61 76 | 65 20 73 6f 6d 65 6f 6e |. hav|e someon|
|00000880| 65 20 65 6c 73 65 73 20 | 6e 65 74 77 6f 72 6b 20 |e elses |network |
|00000890| 61 64 64 72 65 73 73 2e | 20 46 6f 72 20 65 78 61 |address.| For exa|
|000008a0| 6d 70 6c 65 2c 20 74 68 | 65 20 61 64 64 72 65 73 |mple, th|e addres|
|000008b0| 73 20 6f 66 20 61 0a 20 | 20 20 20 74 72 75 73 74 |s of a. | trust|
|000008c0| 65 64 20 68 6f 73 74 20 | 77 69 74 68 69 6e 20 79 |ed host |within y|
|000008d0| 6f 75 72 20 6f 77 6e 20 | 6e 65 74 77 6f 72 6b 2e |our own |network.|
|000008e0| 0a 0a 20 20 20 20 2d 20 | 54 68 65 20 61 63 63 65 |.. - |The acce|
|000008f0| 73 73 20 63 6f 6e 74 72 | 6f 6c 20 6c 61 6e 67 75 |ss contr|ol langu|
|00000900| 61 67 65 20 68 61 73 20 | 62 65 65 6e 20 65 78 74 |age has |been ext|
|00000910| 65 6e 64 65 64 20 77 69 | 74 68 20 61 20 73 69 6d |ended wi|th a sim|
|00000920| 70 6c 65 20 62 75 74 0a | 20 20 20 20 70 6f 77 65 |ple but.| powe|
|00000930| 72 66 75 6c 20 6f 70 65 | 72 61 74 6f 72 20 74 68 |rful ope|rator th|
|00000940| 61 74 20 67 72 65 61 74 | 6c 79 20 73 69 6d 70 6c |at great|ly simpl|
|00000950| 69 66 69 65 73 20 74 68 | 65 20 64 65 73 69 67 6e |ifies th|e design|
|00000960| 20 6f 66 20 72 75 6c 65 | 20 73 65 74 73 0a 20 20 | of rule| sets. |
|00000970| 20 20 28 41 4c 4c 3a 20 | 2e 66 6f 6f 2e 65 64 75 | (ALL: |.foo.edu|
|00000980| 20 45 58 43 45 50 54 20 | 64 69 61 6c 75 70 2e 66 | EXCEPT |dialup.f|
|00000990| 6f 6f 2e 65 64 75 29 2e | 20 42 6c 61 6e 6b 20 6c |oo.edu).| Blank l|
|000009a0| 69 6e 65 73 20 61 72 65 | 20 70 65 72 6d 69 74 74 |ines are| permitt|
|000009b0| 65 64 2c 0a 20 20 20 20 | 61 6e 64 20 6c 6f 6e 67 |ed,. |and long|
|000009c0| 20 6c 69 6e 65 73 20 63 | 61 6e 20 62 65 20 63 6f | lines c|an be co|
|000009d0| 6e 74 69 6e 75 65 64 20 | 77 69 74 68 20 62 61 63 |ntinued |with bac|
|000009e0| 6b 73 6c 61 73 68 2d 6e | 65 77 6c 69 6e 65 2e 0a |kslash-n|ewline..|
|000009f0| 0a 20 20 20 20 2d 20 41 | 6c 6c 20 63 6f 6e 66 69 |. - A|ll confi|
|00000a00| 67 75 72 61 62 6c 65 20 | 73 74 75 66 66 2c 20 69 |gurable |stuff, i|
|00000a10| 6e 63 6c 75 64 69 6e 67 | 20 70 61 74 68 20 6e 61 |ncluding| path na|
|00000a20| 6d 65 73 2c 20 68 61 73 | 20 62 65 65 6e 20 6d 6f |mes, has| been mo|
|00000a30| 76 65 64 20 69 6e 74 6f | 0a 20 20 20 20 74 68 65 |ved into|. the|
|00000a40| 20 4d 61 6b 65 66 69 6c | 65 20 73 6f 20 74 68 61 | Makefil|e so tha|
|00000a50| 74 20 79 6f 75 20 6e 6f | 20 6c 6f 6e 67 65 72 20 |t you no| longer |
|00000a60| 68 61 76 65 20 74 6f 20 | 68 61 63 6b 20 73 6f 75 |have to |hack sou|
|00000a70| 72 63 65 20 63 6f 64 65 | 20 74 6f 20 6a 75 73 74 |rce code| to just|
|00000a80| 0a 20 20 20 20 63 6f 6e | 66 69 67 75 72 65 20 74 |. con|figure t|
|00000a90| 68 65 20 70 72 6f 67 72 | 61 6d 73 2e 0a 0a 20 20 |he progr|ams... |
|00000aa0| 20 20 2d 20 50 6f 72 74 | 65 64 20 74 6f 20 53 6f | - Port|ed to So|
|00000ab0| 6c 61 72 69 73 20 32 2e | 20 54 4c 49 2d 62 61 73 |laris 2.| TLI-bas|
|00000ac0| 65 64 20 61 70 70 6c 69 | 63 61 74 69 6f 6e 73 20 |ed appli|cations |
|00000ad0| 6e 6f 74 20 79 65 74 20 | 73 75 70 70 6f 72 74 65 |not yet |supporte|
|00000ae0| 64 2e 0a 20 20 20 20 53 | 65 76 65 72 61 6c 20 77 |d.. S|everal w|
|00000af0| 6f 72 6b 61 72 6f 75 6e | 64 73 20 66 6f 72 20 53 |orkaroun|ds for S|
|00000b00| 79 73 74 65 6d 20 56 20 | 62 75 67 73 2e 0a 0a 20 |ystem V |bugs... |
|00000b10| 20 20 20 2d 20 41 20 73 | 6d 61 6c 6c 20 6c 6f 6f | - A s|mall loo|
|00000b20| 70 68 6f 6c 65 20 69 6e | 20 74 68 65 20 6e 65 74 |phole in| the net|
|00000b30| 67 72 6f 75 70 20 6c 6f | 6f 6b 75 70 20 63 6f 64 |group lo|okup cod|
|00000b40| 65 20 77 61 73 20 63 6c | 6f 73 65 64 2c 20 61 6e |e was cl|osed, an|
|00000b50| 64 20 74 68 65 0a 20 20 | 20 20 72 65 6d 6f 74 65 |d the. | remote|
|00000b60| 20 75 73 65 72 6e 61 6d | 65 20 6c 6f 6f 6b 75 70 | usernam|e lookup|
|00000b70| 20 63 6f 64 65 20 77 61 | 73 20 6d 61 64 65 20 6d | code wa|s made m|
|00000b80| 6f 72 65 20 70 6f 72 74 | 61 62 6c 65 2e 0a 0a 20 |ore port|able... |
|00000b90| 20 20 20 2d 20 53 74 69 | 6c 6c 20 6d 6f 72 65 20 | - Sti|ll more |
|00000ba0| 64 6f 63 75 6d 65 6e 74 | 61 74 69 6f 6e 2e 20 54 |document|ation. T|
|00000bb0| 68 65 20 52 45 41 44 4d | 45 20 66 69 6c 65 20 6e |he READM|E file n|
|00000bc0| 6f 77 20 70 72 6f 76 69 | 64 65 73 20 74 75 74 6f |ow provi|des tuto|
|00000bd0| 72 69 61 6c 0a 20 20 20 | 20 73 65 63 74 69 6f 6e |rial. | section|
|00000be0| 73 20 77 69 74 68 20 69 | 6e 74 72 6f 64 75 63 74 |s with i|ntroduct|
|00000bf0| 69 6f 6e 73 20 74 6f 20 | 63 6c 69 65 6e 74 2c 20 |ions to |client, |
|00000c00| 73 65 72 76 65 72 2c 20 | 69 6e 65 74 64 20 61 6e |server, |inetd an|
|00000c10| 64 20 73 79 73 6c 6f 67 | 64 2e 0a 0a 54 68 65 20 |d syslog|d...The |
|00000c20| 64 65 66 61 75 6c 74 20 | 6d 6f 64 65 20 6f 66 20 |default |mode of |
|00000c30| 6f 70 65 72 61 74 69 6f | 6e 20 73 68 6f 75 6c 64 |operatio|n should|
|00000c40| 20 62 65 20 62 61 63 6b | 77 61 72 64 73 20 63 6f | be back|wards co|
|00000c50| 6d 70 61 74 69 62 6c 65 | 20 77 69 74 68 0a 65 61 |mpatible| with.ea|
|00000c60| 72 6c 69 65 72 20 76 65 | 72 73 69 6f 6e 73 2e 0a |rlier ve|rsions..|
|00000c70| 0a 09 57 69 65 74 73 65 | 20 56 65 6e 65 6d 61 20 |..Wietse| Venema |
|00000c80| 28 77 69 65 74 73 65 40 | 77 7a 76 2e 77 69 6e 2e |(wietse@|wzv.win.|
|00000c90| 74 75 65 2e 6e 6c 29 2c | 0a 09 44 65 70 61 72 74 |tue.nl),|..Depart|
|00000ca0| 6d 65 6e 74 20 6f 66 20 | 4d 61 74 68 65 6d 61 74 |ment of |Mathemat|
|00000cb0| 69 63 73 20 61 6e 64 20 | 43 6f 6d 70 75 74 69 6e |ics and |Computin|
|00000cc0| 67 20 53 63 69 65 6e 63 | 65 2c 0a 09 45 69 6e 64 |g Scienc|e,..Eind|
|00000cd0| 68 6f 76 65 6e 20 55 6e | 69 76 65 72 73 69 74 79 |hoven Un|iversity|
|00000ce0| 20 6f 66 20 54 65 63 68 | 6e 6f 6c 6f 67 79 2c 0a | of Tech|nology,.|
|00000cf0| 09 54 68 65 20 4e 65 74 | 68 65 72 6c 61 6e 64 73 |.The Net|herlands|
|00000d00| 2e 0a 0a 0a 23 21 20 2f | 62 69 6e 2f 73 68 0a 23 |....#! /|bin/sh.#|
|00000d10| 20 54 68 69 73 20 69 73 | 20 61 20 73 68 65 6c 6c | This is| a shell|
|00000d20| 20 61 72 63 68 69 76 65 | 2e 20 20 52 65 6d 6f 76 | archive|. Remov|
|00000d30| 65 20 61 6e 79 74 68 69 | 6e 67 20 62 65 66 6f 72 |e anythi|ng befor|
|00000d40| 65 20 74 68 69 73 20 6c | 69 6e 65 2c 20 74 68 65 |e this l|ine, the|
|00000d50| 6e 20 75 6e 70 61 63 6b | 0a 23 20 69 74 20 62 79 |n unpack|.# it by|
|00000d60| 20 73 61 76 69 6e 67 20 | 69 74 20 69 6e 74 6f 20 | saving |it into |
|00000d70| 61 20 66 69 6c 65 20 61 | 6e 64 20 74 79 70 69 6e |a file a|nd typin|
|00000d80| 67 20 22 73 68 20 66 69 | 6c 65 22 2e 20 20 54 6f |g "sh fi|le". To|
|00000d90| 20 6f 76 65 72 77 72 69 | 74 65 20 65 78 69 73 74 | overwri|te exist|
|00000da0| 69 6e 67 0a 23 20 66 69 | 6c 65 73 2c 20 74 79 70 |ing.# fi|les, typ|
|00000db0| 65 20 22 73 68 20 66 69 | 6c 65 20 2d 63 22 2e 20 |e "sh fi|le -c". |
|00000dc0| 20 59 6f 75 20 63 61 6e | 20 61 6c 73 6f 20 66 65 | You can| also fe|
|00000dd0| 65 64 20 74 68 69 73 20 | 61 73 20 73 74 61 6e 64 |ed this |as stand|
|00000de0| 61 72 64 20 69 6e 70 75 | 74 20 76 69 61 0a 23 20 |ard inpu|t via.# |
|00000df0| 75 6e 73 68 61 72 2c 20 | 6f 72 20 62 79 20 74 79 |unshar, |or by ty|
|00000e00| 70 69 6e 67 20 22 73 68 | 20 3c 66 69 6c 65 22 2c |ping "sh| <file",|
|00000e10| 20 65 2e 67 2e 2e 20 20 | 49 66 20 74 68 69 73 20 | e.g.. |If this |
|00000e20| 61 72 63 68 69 76 65 20 | 69 73 20 63 6f 6d 70 6c |archive |is compl|
|00000e30| 65 74 65 2c 20 79 6f 75 | 0a 23 20 77 69 6c 6c 20 |ete, you|.# will |
|00000e40| 73 65 65 20 74 68 65 20 | 66 6f 6c 6c 6f 77 69 6e |see the |followin|
|00000e50| 67 20 6d 65 73 73 61 67 | 65 20 61 74 20 74 68 65 |g messag|e at the|
|00000e60| 20 65 6e 64 3a 0a 23 09 | 09 22 45 6e 64 20 6f 66 | end:.#.|."End of|
|00000e70| 20 73 68 65 6c 6c 20 61 | 72 63 68 69 76 65 2e 22 | shell a|rchive."|
|00000e80| 0a 23 20 43 6f 6e 74 65 | 6e 74 73 3a 20 20 52 45 |.# Conte|nts: RE|
|00000e90| 41 44 4d 45 20 6d 69 73 | 63 64 2e 63 20 74 63 70 |ADME mis|cd.c tcp|
|00000ea0| 64 2e 63 20 66 72 6f 6d | 68 6f 73 74 2e 63 20 68 |d.c from|host.c h|
|00000eb0| 6f 73 74 73 5f 61 63 63 | 65 73 73 2e 63 0a 23 20 |osts_acc|ess.c.# |
|00000ec0| 20 20 73 68 65 6c 6c 5f | 63 6d 64 2e 63 20 6c 6f | shell_|cmd.c lo|
|00000ed0| 67 5f 74 63 70 2e 68 20 | 74 72 79 2e 63 20 72 65 |g_tcp.h |try.c re|
|00000ee0| 66 75 73 65 2e 63 20 4d | 61 6b 65 66 69 6c 65 2e |fuse.c M|akefile.|
|00000ef0| 64 69 73 74 20 68 6f 73 | 74 73 5f 61 63 63 65 73 |dist hos|ts_acces|
|00000f00| 73 2e 35 0a 23 20 20 20 | 73 74 72 63 61 73 65 63 |s.5.# |strcasec|
|00000f10| 6d 70 2e 63 20 42 4c 55 | 52 42 20 72 66 63 39 33 |mp.c BLU|RB rfc93|
|00000f20| 31 2e 63 20 74 63 70 64 | 2e 38 20 68 6f 73 74 73 |1.c tcpd|.8 hosts|
|00000f30| 5f 69 6e 66 6f 2e 63 20 | 68 6f 73 74 73 5f 61 63 |_info.c |hosts_ac|
|00000f40| 63 65 73 73 2e 33 0a 23 | 20 20 20 68 6f 73 74 73 |cess.3.#| hosts|
|00000f50| 5f 63 74 6c 2e 63 20 70 | 65 72 63 65 6e 74 5f 78 |_ctl.c p|ercent_x|
|00000f60| 2e 63 20 6f 70 74 69 6f | 6e 73 2e 63 20 63 6c 65 |.c optio|ns.c cle|
|00000f70| 61 6e 5f 65 78 69 74 2e | 63 20 73 65 74 65 6e 76 |an_exit.|c setenv|
|00000f80| 2e 63 0a 23 20 20 20 70 | 61 74 63 68 6c 65 76 65 |.c.# p|atchleve|
|00000f90| 6c 2e 68 20 73 74 72 74 | 6f 6b 2e 63 20 66 69 78 |l.h strt|ok.c fix|
|00000fa0| 5f 6f 70 74 69 6f 6e 73 | 2e 63 20 69 6e 65 74 5f |_options|.c inet_|
|00000fb0| 61 64 64 72 5f 66 69 78 | 0a 23 20 57 72 61 70 70 |addr_fix|.# Wrapp|
|00000fc0| 65 64 20 62 79 20 77 69 | 65 74 73 65 40 77 7a 76 |ed by wi|etse@wzv|
|00000fd0| 20 6f 6e 20 57 65 64 20 | 4d 61 72 20 32 34 20 32 | on Wed |Mar 24 2|
|00000fe0| 32 3a 34 34 3a 35 38 20 | 31 39 39 33 0a 50 41 54 |2:44:58 |1993.PAT|
|00000ff0| 48 3d 2f 62 69 6e 3a 2f | 75 73 72 2f 62 69 6e 3a |H=/bin:/|usr/bin:|
|00001000| 2f 75 73 72 2f 75 63 62 | 20 3b 20 65 78 70 6f 72 |/usr/ucb| ; expor|
|00001010| 74 20 50 41 54 48 0a 69 | 66 20 74 65 73 74 20 2d |t PATH.i|f test -|
|00001020| 66 20 52 45 41 44 4d 45 | 20 2d 61 20 22 24 7b 31 |f README| -a "${1|
|00001030| 7d 22 20 21 3d 20 22 2d | 63 22 20 3b 20 74 68 65 |}" != "-|c" ; the|
|00001040| 6e 20 0a 20 20 65 63 68 | 6f 20 73 68 61 72 3a 20 |n . ech|o shar: |
|00001050| 57 69 6c 6c 20 6e 6f 74 | 20 6f 76 65 72 2d 77 72 |Will not| over-wr|
|00001060| 69 74 65 20 65 78 69 73 | 74 69 6e 67 20 66 69 6c |ite exis|ting fil|
|00001070| 65 20 5c 22 52 45 41 44 | 4d 45 5c 22 0a 65 6c 73 |e \"READ|ME\".els|
|00001080| 65 0a 65 63 68 6f 20 73 | 68 61 72 3a 20 45 78 74 |e.echo s|har: Ext|
|00001090| 72 61 63 74 69 6e 67 20 | 5c 22 52 45 41 44 4d 45 |racting |\"README|
|000010a0| 5c 22 20 5c 28 33 34 38 | 38 38 20 63 68 61 72 61 |\" \(348|88 chara|
|000010b0| 63 74 65 72 73 5c 29 0a | 73 65 64 20 22 73 2f 5e |cters\).|sed "s/^|
|000010c0| 58 2f 2f 22 20 3e 52 45 | 41 44 4d 45 20 3c 3c 27 |X//" >RE|ADME <<'|
|000010d0| 45 4e 44 5f 4f 46 5f 52 | 45 41 44 4d 45 27 0a 58 |END_OF_R|EADME'.X|
|000010e0| 40 28 23 29 20 52 45 41 | 44 4d 45 20 31 2e 31 30 |@(#) REA|DME 1.10|
|000010f0| 20 39 33 2f 30 33 2f 32 | 34 20 32 32 3a 34 32 3a | 93/03/2|4 22:42:|
|00001100| 34 36 0a 58 0a 58 0a 58 | 54 61 62 6c 65 20 6f 66 |46.X.X.X|Table of|
|00001110| 20 63 6f 6e 74 65 6e 74 | 73 0a 58 2d 2d 2d 2d 2d | content|s.X-----|
|00001120| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 0a 58 0a 58 |--------|----.X.X|
|00001130| 20 20 20 20 31 20 2d 20 | 49 6e 74 72 6f 64 75 63 | 1 - |Introduc|
|00001140| 74 69 6f 6e 0a 58 20 20 | 20 20 32 20 2d 20 44 69 |tion.X | 2 - Di|
|00001150| 73 63 6c 61 69 6d 65 72 | 0a 58 20 20 20 20 33 20 |sclaimer|.X 3 |
|00001160| 2d 20 54 75 74 6f 72 69 | 61 6c 73 0a 58 09 09 33 |- Tutori|als.X..3|
|00001170| 2e 31 20 2d 20 48 6f 77 | 20 69 74 20 77 6f 72 6b |.1 - How| it work|
|00001180| 73 0a 58 09 09 33 2e 32 | 20 2d 20 57 68 65 72 65 |s.X..3.2| - Where|
|00001190| 20 74 68 65 20 6c 6f 67 | 67 69 6e 67 20 69 6e 66 | the log|ging inf|
|000011a0| 6f 72 6d 61 74 69 6f 6e | 20 67 6f 65 73 0a 58 20 |ormation| goes.X |
|000011b0| 20 20 20 34 20 2d 20 46 | 65 61 74 75 72 65 73 0a | 4 - F|eatures.|
|000011c0| 58 09 09 34 2e 31 20 2d | 20 41 63 63 65 73 73 20 |X..4.1 -| Access |
|000011d0| 63 6f 6e 74 72 6f 6c 0a | 58 09 09 34 2e 32 20 2d |control.|X..4.2 -|
|000011e0| 20 48 6f 73 74 20 6e 61 | 6d 65 20 73 70 6f 6f 66 | Host na|me spoof|
|000011f0| 69 6e 67 0a 58 09 09 34 | 2e 33 20 2d 20 48 6f 73 |ing.X..4|.3 - Hos|
|00001200| 74 20 61 64 64 72 65 73 | 73 20 73 70 6f 6f 66 69 |t addres|s spoofi|
|00001210| 6e 67 0a 58 09 09 34 2e | 34 20 2d 20 52 65 6d 6f |ng.X..4.|4 - Remo|
|00001220| 74 65 20 75 73 65 72 6e | 61 6d 65 20 6c 6f 6f 6b |te usern|ame look|
|00001230| 75 70 73 0a 58 09 09 34 | 2e 35 20 2d 20 4c 61 6e |ups.X..4|.5 - Lan|
|00001240| 67 75 61 67 65 20 65 78 | 74 65 6e 73 69 6f 6e 20 |guage ex|tension |
|00001250| 68 6f 6f 6b 73 0a 58 20 | 20 20 20 35 20 2d 20 4f |hooks.X | 5 - O|
|00001260| 74 68 65 72 20 77 6f 72 | 6b 73 0a 58 09 09 35 2e |ther wor|ks.X..5.|
|00001270| 31 20 2d 20 52 65 6c 61 | 74 65 64 20 64 6f 63 75 |1 - Rela|ted docu|
|00001280| 6d 65 6e 74 73 0a 58 09 | 09 35 2e 32 20 2d 20 52 |ments.X.|.5.2 - R|
|00001290| 65 6c 61 74 65 64 20 73 | 6f 66 74 77 61 72 65 0a |elated s|oftware.|
|000012a0| 58 20 20 20 20 36 20 2d | 20 4c 69 6d 69 74 61 74 |X 6 -| Limitat|
|000012b0| 69 6f 6e 73 0a 58 09 09 | 36 2e 31 20 2d 20 4b 6e |ions.X..|6.1 - Kn|
|000012c0| 6f 77 6e 20 77 72 61 70 | 70 65 72 20 6c 69 6d 69 |own wrap|per limi|
|000012d0| 74 61 74 69 6f 6e 73 0a | 58 09 09 36 2e 32 20 2d |tations.|X..6.2 -|
|000012e0| 20 4b 6e 6f 77 6e 20 73 | 79 73 74 65 6d 20 73 6f | Known s|ystem so|
|000012f0| 66 74 77 61 72 65 20 62 | 75 67 73 0a 58 20 20 20 |ftware b|ugs.X |
|00001300| 20 37 20 2d 20 43 6f 6e | 66 69 67 75 72 61 74 69 | 7 - Con|figurati|
|00001310| 6f 6e 20 61 6e 64 20 69 | 6e 73 74 61 6c 6c 61 74 |on and i|nstallat|
|00001320| 69 6f 6e 0a 58 09 09 37 | 2e 31 20 2d 20 45 61 73 |ion.X..7|.1 - Eas|
|00001330| 79 20 63 6f 6e 66 69 67 | 75 72 61 74 69 6f 6e 20 |y config|uration |
|00001340| 61 6e 64 20 69 6e 73 74 | 61 6c 6c 61 74 69 6f 6e |and inst|allation|
|00001350| 0a 58 09 09 37 2e 32 20 | 2d 20 41 64 76 61 6e 63 |.X..7.2 |- Advanc|
|00001360| 65 64 20 63 6f 6e 66 69 | 67 75 72 61 74 69 6f 6e |ed confi|guration|
|00001370| 20 61 6e 64 20 69 6e 73 | 74 61 6c 6c 61 74 69 6f | and ins|tallatio|
|00001380| 6e 0a 58 09 09 37 2e 33 | 20 2d 20 44 61 65 6d 6f |n.X..7.3| - Daemo|
|00001390| 6e 73 20 77 69 74 68 20 | 61 72 62 69 74 72 61 72 |ns with |arbitrar|
|000013a0| 79 20 70 61 74 68 20 6e | 61 6d 65 73 0a 58 09 09 |y path n|ames.X..|
|000013b0| 37 2e 34 20 2d 20 42 75 | 69 6c 64 69 6e 67 20 61 |7.4 - Bu|ilding a|
|000013c0| 6e 64 20 74 65 73 74 69 | 6e 67 20 74 68 65 20 61 |nd testi|ng the a|
|000013d0| 63 63 65 73 73 20 63 6f | 6e 74 72 6f 6c 20 72 75 |ccess co|ntrol ru|
|000013e0| 6c 65 73 0a 58 09 09 37 | 2e 35 20 2d 20 4f 74 68 |les.X..7|.5 - Oth|
|000013f0| 65 72 20 61 70 70 6c 69 | 63 61 74 69 6f 6e 73 0a |er appli|cations.|
|00001400| 58 20 20 20 20 38 20 2d | 20 41 63 6b 6e 6f 77 6c |X 8 -| Acknowl|
|00001410| 65 64 67 65 6d 65 6e 74 | 73 0a 58 0a 58 31 20 2d |edgement|s.X.X1 -|
|00001420| 20 49 6e 74 72 6f 64 75 | 63 74 69 6f 6e 0a 58 2d | Introdu|ction.X-|
|00001430| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 0a |--------|-------.|
|00001440| 58 0a 58 57 69 74 68 20 | 74 68 69 73 20 70 61 63 |X.XWith |this pac|
|00001450| 6b 61 67 65 20 79 6f 75 | 20 63 61 6e 20 6d 6f 6e |kage you| can mon|
|00001460| 69 74 6f 72 20 69 6e 63 | 6f 6d 69 6e 67 20 63 6f |itor inc|oming co|
|00001470| 6e 6e 65 63 74 69 6f 6e | 73 20 74 6f 20 74 68 65 |nnection|s to the|
|00001480| 20 53 59 53 54 41 54 2c | 0a 58 46 49 4e 47 45 52 | SYSTAT,|.XFINGER|
|00001490| 2c 20 46 54 50 2c 20 54 | 45 4c 4e 45 54 2c 20 52 |, FTP, T|ELNET, R|
|000014a0| 4c 4f 47 49 4e 2c 20 52 | 53 48 2c 20 45 58 45 43 |LOGIN, R|SH, EXEC|
|000014b0| 2c 20 54 46 54 50 2c 20 | 54 41 4c 4b 2c 20 61 6e |, TFTP, |TALK, an|
|000014c0| 64 20 6f 74 68 65 72 20 | 6e 65 74 77 6f 72 6b 0a |d other |network.|
|000014d0| 58 73 65 72 76 69 63 65 | 73 2e 20 20 0a 58 0a 58 |Xservice|s. .X.X|
|000014e0| 54 68 65 20 70 61 63 6b | 61 67 65 20 70 72 6f 76 |The pack|age prov|
|000014f0| 69 64 65 73 20 74 69 6e | 79 20 64 61 65 6d 6f 6e |ides tin|y daemon|
|00001500| 20 77 72 61 70 70 65 72 | 20 70 72 6f 67 72 61 6d | wrapper| program|
|00001510| 73 20 74 68 61 74 20 63 | 61 6e 20 62 65 20 69 6e |s that c|an be in|
|00001520| 73 74 61 6c 6c 65 64 0a | 58 77 69 74 68 6f 75 74 |stalled.|Xwithout|
|00001530| 20 61 6e 79 20 63 68 61 | 6e 67 65 73 20 74 6f 20 | any cha|nges to |
|00001540| 65 78 69 73 74 69 6e 67 | 20 73 6f 66 74 77 61 72 |existing| softwar|
|00001550| 65 20 6f 72 20 74 6f 20 | 65 78 69 73 74 69 6e 67 |e or to |existing|
|00001560| 20 63 6f 6e 66 69 67 75 | 72 61 74 69 6f 6e 0a 58 | configu|ration.X|
|00001570| 66 69 6c 65 73 2e 20 20 | 54 68 65 20 77 72 61 70 |files. |The wrap|
|00001580| 70 65 72 73 20 72 65 70 | 6f 72 74 20 74 68 65 20 |pers rep|ort the |
|00001590| 6e 61 6d 65 20 6f 66 20 | 74 68 65 20 72 65 6d 6f |name of |the remo|
|000015a0| 74 65 20 68 6f 73 74 20 | 61 6e 64 20 6f 66 20 74 |te host |and of t|
|000015b0| 68 65 0a 58 72 65 71 75 | 65 73 74 65 64 20 73 65 |he.Xrequ|ested se|
|000015c0| 72 76 69 63 65 3b 20 74 | 68 65 20 77 72 61 70 70 |rvice; t|he wrapp|
|000015d0| 65 72 73 20 64 6f 20 6e | 6f 74 20 65 78 63 68 61 |ers do n|ot excha|
|000015e0| 6e 67 65 20 69 6e 66 6f | 72 6d 61 74 69 6f 6e 20 |nge info|rmation |
|000015f0| 77 69 74 68 20 74 68 65 | 0a 58 72 65 6d 6f 74 65 |with the|.Xremote|
|00001600| 20 63 6c 69 65 6e 74 20 | 70 72 6f 63 65 73 73 2c | client |process,|
|00001610| 20 61 6e 64 20 69 6d 70 | 6f 73 65 20 6e 6f 20 6f | and imp|ose no o|
|00001620| 76 65 72 68 65 61 64 20 | 6f 6e 20 74 68 65 20 61 |verhead |on the a|
|00001630| 63 74 75 61 6c 0a 58 63 | 6f 6d 6d 75 6e 69 63 61 |ctual.Xc|ommunica|
|00001640| 74 69 6f 6e 20 62 65 74 | 77 65 65 6e 20 74 68 65 |tion bet|ween the|
|00001650| 20 63 6c 69 65 6e 74 20 | 61 6e 64 20 73 65 72 76 | client |and serv|
|00001660| 65 72 20 61 70 70 6c 69 | 63 61 74 69 6f 6e 73 2e |er appli|cations.|
|00001670| 0a 58 0a 58 4f 70 74 69 | 6f 6e 61 6c 20 66 65 61 |.X.XOpti|onal fea|
|00001680| 74 75 72 65 73 20 61 72 | 65 3a 20 61 63 63 65 73 |tures ar|e: acces|
|00001690| 73 20 63 6f 6e 74 72 6f | 6c 20 74 6f 20 72 65 73 |s contro|l to res|
|000016a0| 74 72 69 63 74 20 77 68 | 61 74 20 73 79 73 74 65 |trict wh|at syste|
|000016b0| 6d 73 20 63 61 6e 0a 58 | 63 6f 6e 6e 65 63 74 20 |ms can.X|connect |
|000016c0| 74 6f 20 79 6f 75 72 20 | 6e 65 74 77 6f 72 6b 20 |to your |network |
|000016d0| 64 61 65 6d 6f 6e 73 3b | 20 72 65 6d 6f 74 65 20 |daemons;| remote |
|000016e0| 75 73 65 72 20 6e 61 6d | 65 20 6c 6f 6f 6b 75 70 |user nam|e lookup|
|000016f0| 73 20 77 69 74 68 20 74 | 68 65 20 52 46 43 0a 58 |s with t|he RFC.X|
|00001700| 39 33 31 20 70 72 6f 74 | 6f 63 6f 6c 3b 20 61 64 |931 prot|ocol; ad|
|00001710| 64 69 74 69 6f 6e 61 6c | 20 70 72 6f 74 65 63 74 |ditional| protect|
|00001720| 69 6f 6e 20 61 67 61 69 | 6e 73 74 20 68 6f 73 74 |ion agai|nst host|
|00001730| 73 20 74 68 61 74 20 70 | 72 65 74 65 6e 64 20 74 |s that p|retend t|
|00001740| 6f 20 68 61 76 65 0a 58 | 73 6f 6d 65 6f 6e 65 20 |o have.X|someone |
|00001750| 65 6c 73 65 73 20 68 6f | 73 74 20 6e 61 6d 65 3b |elses ho|st name;|
|00001760| 20 61 64 64 69 74 69 6f | 6e 61 6c 20 70 72 6f 74 | additio|nal prot|
|00001770| 65 63 74 69 6f 6e 20 61 | 67 61 69 6e 73 74 20 68 |ection a|gainst h|
|00001780| 6f 73 74 73 20 74 68 61 | 74 0a 58 70 72 65 74 65 |osts tha|t.Xprete|
|00001790| 6e 64 20 74 6f 20 68 61 | 76 65 20 73 6f 6d 65 6f |nd to ha|ve someo|
|000017a0| 6e 65 20 65 6c 73 65 73 | 20 68 6f 73 74 20 61 64 |ne elses| host ad|
|000017b0| 64 72 65 73 73 2e 0a 58 | 0a 58 45 61 72 6c 79 20 |dress..X|.XEarly |
|000017c0| 76 65 72 73 69 6f 6e 73 | 20 6f 66 20 74 68 65 20 |versions| of the |
|000017d0| 70 72 6f 67 72 61 6d 73 | 20 77 65 72 65 20 74 65 |programs| were te|
|000017e0| 73 74 65 64 20 77 69 74 | 68 20 55 6c 74 72 69 78 |sted wit|h Ultrix|
|000017f0| 20 3e 3d 20 32 2e 32 2c | 20 77 69 74 68 0a 58 53 | >= 2.2,| with.XS|
|00001800| 75 6e 4f 53 20 3e 3d 20 | 33 2e 34 20 61 6e 64 20 |unOS >= |3.4 and |
|00001810| 49 53 43 20 32 2e 32 2e | 20 4c 61 74 65 72 20 76 |ISC 2.2.| Later v|
|00001820| 65 72 73 69 6f 6e 73 20 | 68 61 76 65 20 62 65 65 |ersions |have bee|
|00001830| 6e 20 69 6e 73 74 61 6c | 6c 65 64 20 6f 6e 20 61 |n instal|led on a|
|00001840| 20 77 69 64 65 0a 58 76 | 61 72 69 65 74 79 20 6f | wide.Xv|ariety o|
|00001850| 66 20 70 6c 61 74 66 6f | 72 6d 73 20 73 75 63 68 |f platfo|rms such|
|00001860| 20 61 73 20 53 75 6e 4f | 53 20 34 2e 78 20 61 6e | as SunO|S 4.x an|
|00001870| 64 20 35 2e 78 2c 20 55 | 6c 74 72 69 78 20 33 2e |d 5.x, U|ltrix 3.|
|00001880| 78 20 61 6e 64 20 34 2e | 78 2c 20 44 45 43 0a 58 |x and 4.|x, DEC.X|
|00001890| 4f 53 46 2f 31 20 54 31 | 2e 32 2d 32 2c 20 48 50 |OSF/1 T1|.2-2, HP|
|000018a0| 2d 55 58 20 38 2e 78 2c | 20 41 49 58 20 33 2e 31 |-UX 8.x,| AIX 3.1|
|000018b0| 2e 35 2c 20 41 70 6f 6c | 6c 6f 20 53 52 31 30 2e |.5, Apol|lo SR10.|
|000018c0| 33 2e 35 2c 20 53 6f 6e | 79 2c 20 4e 65 58 54 2c |3.5, Son|y, NeXT,|
|000018d0| 20 53 43 4f 0a 58 55 4e | 49 58 2c 20 44 47 2f 55 | SCO.XUN|IX, DG/U|
|000018e0| 58 2c 20 43 72 61 79 2c | 20 61 6e 64 20 61 6e 20 |X, Cray,| and an |
|000018f0| 75 6e 6b 6e 6f 77 6e 20 | 6e 75 6d 62 65 72 20 6f |unknown |number o|
|00001900| 66 20 6f 74 68 65 72 20 | 6f 6e 65 73 2e 20 20 0a |f other |ones. .|
|00001910| 58 0a 58 52 65 71 75 69 | 72 65 6d 65 6e 74 73 20 |X.XRequi|rements |
|00001920| 61 72 65 20 74 68 61 74 | 20 74 68 65 20 6e 65 74 |are that| the net|
|00001930| 77 6f 72 6b 20 64 61 65 | 6d 6f 6e 73 20 61 72 65 |work dae|mons are|
|00001940| 20 73 70 61 77 6e 65 64 | 20 62 79 20 61 20 73 75 | spawned| by a su|
|00001950| 70 65 72 20 73 65 72 76 | 65 72 0a 58 73 75 63 68 |per serv|er.Xsuch|
|00001960| 20 61 73 20 74 68 65 20 | 69 6e 65 74 64 3b 20 61 | as the |inetd; a|
|00001970| 20 34 2e 33 42 53 44 2d | 73 74 79 6c 65 20 73 6f | 4.3BSD-|style so|
|00001980| 63 6b 65 74 20 70 72 6f | 67 72 61 6d 6d 69 6e 67 |cket pro|gramming|
|00001990| 20 69 6e 74 65 72 66 61 | 63 65 3b 20 61 6e 64 20 | interfa|ce; and |
|000019a0| 74 68 65 0a 58 61 76 61 | 69 6c 61 62 69 6c 69 74 |the.Xava|ilabilit|
|000019b0| 79 20 6f 66 20 61 20 73 | 79 73 6c 6f 67 28 33 29 |y of a s|yslog(3)|
|000019c0| 20 6c 69 62 72 61 72 79 | 20 61 6e 64 20 6f 66 20 | library| and of |
|000019d0| 61 20 73 79 73 6c 6f 67 | 64 28 38 29 20 64 61 65 |a syslog|d(8) dae|
|000019e0| 6d 6f 6e 2e 20 20 54 68 | 65 0a 58 77 72 61 70 70 |mon. Th|e.Xwrapp|
|000019f0| 65 72 73 20 73 68 6f 75 | 6c 64 20 72 75 6e 20 77 |ers shou|ld run w|
|00001a00| 69 74 68 6f 75 74 20 6d | 6f 64 69 66 69 63 61 74 |ithout m|odificat|
|00001a10| 69 6f 6e 20 6f 6e 20 61 | 6e 79 20 73 79 73 74 65 |ion on a|ny syste|
|00001a20| 6d 20 74 68 61 74 20 73 | 61 74 69 73 66 69 65 73 |m that s|atisfies|
|00001a30| 0a 58 74 68 65 73 65 20 | 72 65 71 75 69 72 65 6d |.Xthese |requirem|
|00001a40| 65 6e 74 73 2e 20 20 57 | 6f 72 6b 61 72 6f 75 6e |ents. W|orkaroun|
|00001a50| 64 73 20 68 61 76 65 20 | 62 65 65 6e 20 69 6d 70 |ds have |been imp|
|00001a60| 6c 65 6d 65 6e 74 65 64 | 20 66 6f 72 20 73 65 76 |lemented| for sev|
|00001a70| 65 72 61 6c 0a 58 63 6f | 6d 6d 6f 6e 20 62 75 67 |eral.Xco|mmon bug|
|00001a80| 73 20 69 6e 20 73 79 73 | 74 65 6d 73 20 73 6f 66 |s in sys|tems sof|
|00001a90| 74 77 61 72 65 2e 0a 58 | 0a 58 57 68 61 74 20 74 |tware..X|.XWhat t|
|00001aa0| 6f 20 64 6f 20 69 66 20 | 74 68 69 73 20 69 73 20 |o do if |this is |
|00001ab0| 79 6f 75 72 20 66 69 72 | 73 74 20 65 6e 63 6f 75 |your fir|st encou|
|00001ac0| 6e 74 65 72 20 77 69 74 | 68 20 74 68 65 20 77 72 |nter wit|h the wr|
|00001ad0| 61 70 70 65 72 20 70 72 | 6f 67 72 61 6d 73 3a 0a |apper pr|ograms:.|
|00001ae0| 58 31 29 20 72 65 61 64 | 20 74 68 65 20 74 75 74 |X1) read| the tut|
|00001af0| 6f 72 69 61 6c 20 73 65 | 63 74 69 6f 6e 73 20 66 |orial se|ctions f|
|00001b00| 6f 72 20 61 6e 20 69 6e | 74 72 6f 64 75 63 74 69 |or an in|troducti|
|00001b10| 6f 6e 20 74 6f 20 74 68 | 65 20 72 65 6c 65 76 61 |on to th|e releva|
|00001b20| 6e 74 0a 58 63 6f 6e 63 | 65 70 74 73 20 61 6e 64 |nt.Xconc|epts and|
|00001b30| 20 74 65 72 6d 69 6e 6f | 6c 6f 67 79 3b 20 32 29 | termino|logy; 2)|
|00001b40| 20 67 6c 61 6e 63 65 20 | 6f 76 65 72 20 74 68 65 | glance |over the|
|00001b50| 20 73 65 63 75 72 69 74 | 79 20 66 65 61 74 75 72 | securit|y featur|
|00001b60| 65 20 73 65 63 74 69 6f | 6e 73 0a 58 69 6e 20 74 |e sectio|ns.Xin t|
|00001b70| 68 69 73 20 64 6f 63 75 | 6d 65 6e 74 3b 20 33 29 |his docu|ment; 3)|
|00001b80| 20 66 6f 6c 6c 6f 77 20 | 74 68 65 20 69 6e 73 74 | follow |the inst|
|00001b90| 61 6c 6c 61 74 69 6f 6e | 20 69 6e 73 74 72 75 63 |allation| instruc|
|00001ba0| 74 69 6f 6e 73 20 28 65 | 61 73 79 20 6f 72 0a 58 |tions (e|asy or.X|
|00001bb0| 61 64 76 61 6e 63 65 64 | 29 2e 20 49 20 72 65 63 |advanced|). I rec|
|00001bc0| 6f 6d 6d 65 6e 64 20 74 | 68 61 74 20 79 6f 75 20 |ommend t|hat you |
|00001bd0| 66 69 72 73 74 20 75 73 | 65 20 74 68 65 20 64 65 |first us|e the de|
|00001be0| 66 61 75 6c 74 20 73 65 | 63 75 72 69 74 79 20 66 |fault se|curity f|
|00001bf0| 65 61 74 75 72 65 0a 58 | 73 65 74 74 69 6e 67 73 |eature.X|settings|
|00001c00| 2e 20 20 52 75 6e 20 74 | 68 65 20 77 72 61 70 70 |. Run t|he wrapp|
|00001c10| 65 72 73 20 66 6f 72 20 | 61 20 66 65 77 20 64 61 |ers for |a few da|
|00001c20| 79 73 20 74 6f 20 62 65 | 63 6f 6d 65 20 66 61 6d |ys to be|come fam|
|00001c30| 69 6c 69 61 72 20 77 69 | 74 68 0a 58 74 68 65 69 |iliar wi|th.Xthei|
|00001c40| 72 20 6c 6f 67 73 2c 20 | 62 65 66 6f 72 65 20 64 |r logs, |before d|
|00001c50| 6f 69 6e 67 20 61 6e 79 | 74 68 69 6e 67 20 64 72 |oing any|thing dr|
|00001c60| 61 73 74 69 63 20 73 75 | 63 68 20 61 73 20 63 75 |astic su|ch as cu|
|00001c70| 74 74 69 6e 67 20 6f 66 | 66 20 61 63 63 65 73 73 |tting of|f access|
|00001c80| 20 6f 72 0a 58 69 6e 73 | 74 61 6c 6c 69 6e 67 20 | or.Xins|talling |
|00001c90| 62 6f 6f 62 79 20 74 72 | 61 70 73 2e 0a 58 0a 58 |booby tr|aps..X.X|
|00001ca0| 32 20 2d 20 44 69 73 63 | 6c 61 69 6d 65 72 0a 58 |2 - Disc|laimer.X|
|00001cb0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 0a 58 |--------|------.X|
|00001cc0| 0a 58 54 68 65 20 77 72 | 61 70 70 65 72 20 70 72 |.XThe wr|apper pr|
|00001cd0| 6f 67 72 61 6d 73 20 72 | 65 6c 79 20 6f 6e 20 73 |ograms r|ely on s|
|00001ce0| 6f 75 72 63 65 20 61 64 | 64 72 65 73 73 20 69 6e |ource ad|dress in|
|00001cf0| 66 6f 72 6d 61 74 69 6f | 6e 20 6f 62 74 61 69 6e |formatio|n obtain|
|00001d00| 65 64 20 66 72 6f 6d 0a | 58 6e 65 74 77 6f 72 6b |ed from.|Xnetwork|
|00001d10| 20 70 61 63 6b 65 74 73 | 2e 20 53 75 63 68 20 69 | packets|. Such i|
|00001d20| 6e 66 6f 72 6d 61 74 69 | 6f 6e 20 69 73 20 6e 6f |nformati|on is no|
|00001d30| 74 20 31 30 30 20 70 65 | 72 63 65 6e 74 20 72 65 |t 100 pe|rcent re|
|00001d40| 6c 69 61 62 6c 65 2c 20 | 61 6c 74 68 6f 75 67 68 |liable, |although|
|00001d50| 0a 58 74 68 65 20 77 72 | 61 70 70 65 72 73 20 64 |.Xthe wr|appers d|
|00001d60| 6f 20 74 68 65 69 72 20 | 62 65 73 74 20 74 6f 20 |o their |best to |
|00001d70| 65 78 70 6f 73 65 20 66 | 6f 72 67 65 72 69 65 73 |expose f|orgeries|
|00001d80| 2e 0a 58 0a 58 49 6e 20 | 74 68 65 20 61 62 73 65 |..X.XIn |the abse|
|00001d90| 6e 63 65 20 6f 66 20 63 | 72 79 70 74 6f 67 72 61 |nce of c|ryptogra|
|00001da0| 70 68 69 63 20 70 72 6f | 74 65 63 74 69 6f 6e 20 |phic pro|tection |
|00001db0| 6f 66 20 6d 65 73 73 61 | 67 65 20 63 6f 6e 74 65 |of messa|ge conte|
|00001dc0| 6e 74 73 2c 20 61 6e 64 | 20 6f 66 0a 58 63 72 79 |nts, and| of.Xcry|
|00001dd0| 70 74 6f 67 72 61 70 68 | 69 63 20 61 75 74 68 65 |ptograph|ic authe|
|00001de0| 6e 74 69 63 61 74 69 6f | 6e 20 6f 66 20 6d 65 73 |nticatio|n of mes|
|00001df0| 73 61 67 65 20 6f 72 69 | 67 69 6e 61 74 6f 72 73 |sage ori|ginators|
|00001e00| 2c 20 61 6c 6c 20 64 61 | 74 61 20 66 72 6f 6d 20 |, all da|ta from |
|00001e10| 74 68 65 0a 58 6e 65 74 | 77 6f 72 6b 20 73 68 6f |the.Xnet|work sho|
|00001e20| 75 6c 64 20 62 65 20 74 | 72 65 61 74 65 64 20 77 |uld be t|reated w|
|00001e30| 69 74 68 20 73 6f 75 6e | 64 20 73 63 65 70 74 69 |ith soun|d scepti|
|00001e40| 63 69 73 6d 2e 0a 58 0a | 58 54 48 49 53 20 52 45 |cism..X.|XTHIS RE|
|00001e50| 53 54 52 49 43 54 49 4f | 4e 20 49 53 20 42 59 20 |STRICTIO|N IS BY |
|00001e60| 4e 4f 20 4d 45 41 4e 53 | 20 53 50 45 43 49 46 49 |NO MEANS| SPECIFI|
|00001e70| 43 20 54 4f 20 54 48 45 | 20 54 43 50 2f 49 50 20 |C TO THE| TCP/IP |
|00001e80| 50 52 4f 54 4f 43 4f 4c | 53 2e 0a 58 0a 58 33 20 |PROTOCOL|S..X.X3 |
|00001e90| 2d 20 54 75 74 6f 72 69 | 61 6c 73 0a 58 2d 2d 2d |- Tutori|als.X---|
|00001ea0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 0a 58 0a 58 54 68 |--------|--.X.XTh|
|00001eb0| 65 20 74 75 74 6f 72 69 | 61 6c 20 73 65 63 74 69 |e tutori|al secti|
|00001ec0| 6f 6e 73 20 67 69 76 65 | 20 61 20 67 65 6e 74 6c |ons give| a gentl|
|00001ed0| 65 20 69 6e 74 72 6f 64 | 75 63 74 69 6f 6e 20 74 |e introd|uction t|
|00001ee0| 6f 20 74 68 65 20 6f 70 | 65 72 61 74 69 6f 6e 20 |o the op|eration |
|00001ef0| 6f 66 0a 58 74 68 65 20 | 77 72 61 70 70 65 72 20 |of.Xthe |wrapper |
|00001f00| 70 72 6f 67 72 61 6d 73 | 2c 20 61 6e 64 20 69 6e |programs|, and in|
|00001f10| 74 72 6f 64 75 63 65 20 | 73 6f 6d 65 20 6f 66 20 |troduce |some of |
|00001f20| 74 68 65 20 74 65 72 6d | 69 6e 6f 6c 6f 67 79 20 |the term|inology |
|00001f30| 74 68 61 74 20 69 73 0a | 58 75 73 65 64 20 69 6e |that is.|Xused in|
|00001f40| 20 74 68 65 20 72 65 6d | 61 69 6e 64 65 72 20 6f | the rem|ainder o|
|00001f50| 66 20 74 68 65 20 64 6f | 63 75 6d 65 6e 74 3a 20 |f the do|cument: |
|00001f60| 63 6c 69 65 6e 74 2c 20 | 73 65 72 76 65 72 2c 20 |client, |server, |
|00001f70| 74 68 65 20 69 6e 65 74 | 64 20 61 6e 64 0a 58 73 |the inet|d and.Xs|
|00001f80| 79 73 6c 6f 67 64 20 64 | 61 65 6d 6f 6e 73 2c 20 |yslogd d|aemons, |
|00001f90| 61 6e 64 20 74 68 65 69 | 72 20 63 6f 6e 66 69 67 |and thei|r config|
|00001fa0| 75 72 61 74 69 6f 6e 20 | 66 69 6c 65 73 2e 0a 58 |uration |files..X|
|00001fb0| 0a 58 33 2e 31 20 2d 20 | 48 6f 77 20 69 74 20 77 |.X3.1 - |How it w|
|00001fc0| 6f 72 6b 73 0a 58 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |orks.X--|--------|
|00001fd0| 2d 2d 2d 2d 2d 2d 2d 2d | 0a 58 0a 58 41 6c 6d 6f |--------|.X.XAlmo|
|00001fe0| 73 74 20 65 76 65 72 79 | 20 61 70 70 6c 69 63 61 |st every| applica|
|00001ff0| 74 69 6f 6e 20 6f 66 20 | 74 68 65 20 54 43 50 2f |tion of |the TCP/|
|00002000| 49 50 20 70 72 6f 74 6f | 63 6f 6c 73 20 69 73 20 |IP proto|cols is |
|00002010| 62 61 73 65 64 20 6f 6e | 20 61 20 63 6c 69 65 6e |based on| a clien|
|00002020| 74 2d 0a 58 73 65 72 76 | 65 72 20 6d 6f 64 65 6c |t-.Xserv|er model|
|00002030| 2e 20 46 6f 72 20 65 78 | 61 6d 70 6c 65 2c 20 77 |. For ex|ample, w|
|00002040| 68 65 6e 20 61 20 75 73 | 65 72 20 69 6e 76 6f 6b |hen a us|er invok|
|00002050| 65 73 20 74 68 65 20 74 | 65 6c 6e 65 74 20 63 6f |es the t|elnet co|
|00002060| 6d 6d 61 6e 64 20 74 6f | 0a 58 63 6f 6e 6e 65 63 |mmand to|.Xconnec|
|00002070| 74 20 74 6f 20 6f 6e 65 | 20 6f 66 20 79 6f 75 72 |t to one| of your|
|00002080| 20 73 79 73 74 65 6d 73 | 2c 20 61 20 74 65 6c 6e | systems|, a teln|
|00002090| 65 74 20 73 65 72 76 65 | 72 20 70 72 6f 63 65 73 |et serve|r proces|
|000020a0| 73 20 69 73 20 65 78 65 | 63 75 74 65 64 20 6f 6e |s is exe|cuted on|
|000020b0| 0a 58 74 68 65 20 74 61 | 72 67 65 74 20 68 6f 73 |.Xthe ta|rget hos|
|000020c0| 74 2e 20 54 68 65 20 74 | 65 6c 6e 65 74 20 73 65 |t. The t|elnet se|
|000020d0| 72 76 65 72 20 70 72 6f | 63 65 73 73 20 63 6f 6e |rver pro|cess con|
|000020e0| 6e 65 63 74 73 20 74 68 | 65 20 75 73 65 72 20 74 |nects th|e user t|
|000020f0| 6f 20 61 20 6c 6f 67 69 | 6e 0a 58 70 72 6f 63 65 |o a logi|n.Xproce|
|00002100| 73 73 2e 20 41 20 66 65 | 77 20 65 78 61 6d 70 6c |ss. A fe|w exampl|
|00002110| 65 73 20 6f 66 20 63 6c | 69 65 6e 74 20 61 6e 64 |es of cl|ient and|
|00002120| 20 73 65 72 76 65 72 20 | 70 72 6f 67 72 61 6d 73 | server |programs|
|00002130| 20 61 72 65 20 73 68 6f | 77 6e 20 69 6e 20 74 68 | are sho|wn in th|
|00002140| 65 0a 58 74 61 62 6c 65 | 20 62 65 6c 6f 77 3a 0a |e.Xtable| below:.|
|00002150| 58 0a 58 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |X.X | |
|00002160| 20 63 6c 69 65 6e 74 20 | 20 20 73 65 72 76 65 72 | client | server|
|00002170| 20 20 20 20 61 70 70 6c | 69 63 61 74 69 6f 6e 0a | appl|ication.|
|00002180| 58 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 2d |X | -|
|00002190| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000021a0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 0a |--------|-------.|
|000021b0| 58 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 74 |X | t|
|000021c0| 65 6c 6e 65 74 20 20 20 | 74 65 6c 6e 65 74 64 20 |elnet |telnetd |
|000021d0| 20 20 72 65 6d 6f 74 65 | 20 6c 6f 67 69 6e 0a 58 | remote| login.X|
|000021e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 66 74 | | ft|
|000021f0| 70 20 20 20 20 20 20 66 | 74 70 64 20 20 20 20 20 |p f|tpd |
|00002200| 20 66 69 6c 65 20 74 72 | 61 6e 73 66 65 72 0a 58 | file tr|ansfer.X|
|00002210| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 66 69 | | fi|
|00002220| 6e 67 65 72 20 20 20 66 | 69 6e 67 65 72 64 20 20 |nger f|ingerd |
|00002230| 20 73 68 6f 77 20 75 73 | 65 72 73 0a 58 0a 58 54 | show us|ers.X.XT|
|00002240| 68 65 20 75 73 75 61 6c | 20 61 70 70 72 6f 61 63 |he usual| approac|
|00002250| 68 20 69 73 20 74 6f 20 | 72 75 6e 20 6f 6e 65 20 |h is to |run one |
|00002260| 73 69 6e 67 6c 65 20 64 | 61 65 6d 6f 6e 20 70 72 |single d|aemon pr|
|00002270| 6f 63 65 73 73 20 74 68 | 61 74 20 77 61 69 74 73 |ocess th|at waits|
|00002280| 20 66 6f 72 0a 58 61 6c | 6c 20 6b 69 6e 64 73 20 | for.Xal|l kinds |
|00002290| 6f 66 20 69 6e 63 6f 6d | 69 6e 67 20 6e 65 74 77 |of incom|ing netw|
|000022a0| 6f 72 6b 20 63 6f 6e 6e | 65 63 74 69 6f 6e 73 2e |ork conn|ections.|
|000022b0| 20 57 68 65 6e 65 76 65 | 72 20 61 20 63 6f 6e 6e | Wheneve|r a conn|
|000022c0| 65 63 74 69 6f 6e 20 69 | 73 0a 58 65 73 74 61 62 |ection i|s.Xestab|
|000022d0| 6c 69 73 68 65 64 2c 20 | 74 68 69 73 20 64 61 65 |lished, |this dae|
|000022e0| 6d 6f 6e 20 28 75 73 75 | 61 6c 6c 79 20 63 61 6c |mon (usu|ally cal|
|000022f0| 6c 65 64 20 69 6e 65 74 | 64 29 20 72 75 6e 73 20 |led inet|d) runs |
|00002300| 74 68 65 20 61 70 70 72 | 6f 70 72 69 61 74 65 0a |the appr|opriate.|
|00002310| 58 73 65 72 76 65 72 20 | 70 72 6f 67 72 61 6d 20 |Xserver |program |
|00002320| 61 6e 64 20 67 6f 65 73 | 20 62 61 63 6b 20 74 6f |and goes| back to|
|00002330| 20 73 6c 65 65 70 2c 20 | 77 61 69 74 69 6e 67 20 | sleep, |waiting |
|00002340| 66 6f 72 20 6f 74 68 65 | 72 20 63 6f 6e 6e 65 63 |for othe|r connec|
|00002350| 74 69 6f 6e 73 2e 0a 58 | 0a 58 54 68 65 20 77 72 |tions..X|.XThe wr|
|00002360| 61 70 70 65 72 20 70 72 | 6f 67 72 61 6d 73 20 72 |apper pr|ograms r|
|00002370| 65 6c 79 20 6f 6e 20 61 | 20 73 69 6d 70 6c 65 2c |ely on a| simple,|
|00002380| 20 62 75 74 20 70 6f 77 | 65 72 66 75 6c 20 6d 65 | but pow|erful me|
|00002390| 63 68 61 6e 69 73 6d 2e | 20 20 49 6e 73 74 65 61 |chanism.| Instea|
|000023a0| 64 0a 58 6f 66 20 64 69 | 72 65 63 74 6c 79 20 72 |d.Xof di|rectly r|
|000023b0| 75 6e 6e 69 6e 67 20 74 | 68 65 20 64 65 73 69 72 |unning t|he desir|
|000023c0| 65 64 20 73 65 72 76 65 | 72 20 70 72 6f 67 72 61 |ed serve|r progra|
|000023d0| 6d 2c 20 74 68 65 20 69 | 6e 65 74 64 20 69 73 20 |m, the i|netd is |
|000023e0| 74 72 69 63 6b 65 64 0a | 58 69 6e 74 6f 20 72 75 |tricked.|Xinto ru|
|000023f0| 6e 6e 69 6e 67 20 61 20 | 73 6d 61 6c 6c 20 77 72 |nning a |small wr|
|00002400| 61 70 70 65 72 20 70 72 | 6f 67 72 61 6d 2e 20 54 |apper pr|ogram. T|
|00002410| 68 65 20 77 72 61 70 70 | 65 72 20 6c 6f 67 73 20 |he wrapp|er logs |
|00002420| 74 68 65 20 72 65 6d 6f | 74 65 20 68 6f 73 74 0a |the remo|te host.|
|00002430| 58 6e 61 6d 65 20 6f 72 | 20 61 64 64 72 65 73 73 |Xname or| address|
|00002440| 20 61 6e 64 20 70 65 72 | 66 6f 72 6d 73 20 73 6f | and per|forms so|
|00002450| 6d 65 20 61 64 64 69 74 | 69 6f 6e 61 6c 20 63 68 |me addit|ional ch|
|00002460| 65 63 6b 73 2e 20 20 57 | 68 65 6e 20 61 6c 6c 20 |ecks. W|hen all |
|00002470| 69 73 20 77 65 6c 6c 2c | 0a 58 74 68 65 20 77 72 |is well,|.Xthe wr|
|00002480| 61 70 70 65 72 20 65 78 | 65 63 75 74 65 73 20 74 |apper ex|ecutes t|
|00002490| 68 65 20 64 65 73 69 72 | 65 64 20 73 65 72 76 65 |he desir|ed serve|
|000024a0| 72 20 70 72 6f 67 72 61 | 6d 20 61 6e 64 20 67 6f |r progra|m and go|
|000024b0| 65 73 20 61 77 61 79 2e | 0a 58 0a 58 54 68 65 20 |es away.|.X.XThe |
|000024c0| 77 72 61 70 70 65 72 20 | 70 72 6f 67 72 61 6d 73 |wrapper |programs|
|000024d0| 20 68 61 76 65 20 6e 6f | 20 69 6e 74 65 72 61 63 | have no| interac|
|000024e0| 74 69 6f 6e 20 77 69 74 | 68 20 74 68 65 20 72 65 |tion wit|h the re|
|000024f0| 6d 6f 74 65 20 75 73 65 | 72 20 28 6f 72 0a 58 63 |mote use|r (or.Xc|
|00002500| 6c 69 65 6e 74 20 70 72 | 6f 63 65 73 73 29 2e 20 |lient pr|ocess). |
|00002510| 20 54 68 69 73 20 68 61 | 73 20 74 77 6f 20 6d 61 | This ha|s two ma|
|00002520| 6a 6f 72 20 61 64 76 61 | 6e 74 61 67 65 73 3a 20 |jor adva|ntages: |
|00002530| 31 29 20 74 68 65 20 77 | 72 61 70 70 65 72 73 20 |1) the w|rappers |
|00002540| 61 72 65 0a 58 61 70 70 | 6c 69 63 61 74 69 6f 6e |are.Xapp|lication|
|00002550| 2d 69 6e 64 65 70 65 6e | 64 65 6e 74 2c 20 73 6f |-indepen|dent, so|
|00002560| 20 74 68 61 74 20 74 68 | 65 20 73 61 6d 65 20 70 | that th|e same p|
|00002570| 72 6f 67 72 61 6d 20 63 | 61 6e 20 70 72 6f 74 65 |rogram c|an prote|
|00002580| 63 74 20 6d 61 6e 79 0a | 58 6b 69 6e 64 73 20 6f |ct many.|Xkinds o|
|00002590| 66 20 6e 65 74 77 6f 72 | 6b 20 73 65 72 76 69 63 |f networ|k servic|
|000025a0| 65 73 3b 20 32 29 20 6e | 6f 20 69 6e 74 65 72 61 |es; 2) n|o intera|
|000025b0| 63 74 69 6f 6e 20 61 6c | 73 6f 20 6d 65 61 6e 73 |ction al|so means|
|000025c0| 20 74 68 61 74 20 74 68 | 65 0a 58 77 72 61 70 70 | that th|e.Xwrapp|
|000025d0| 65 72 73 20 61 72 65 20 | 69 6e 76 69 73 69 62 6c |ers are |invisibl|
|000025e0| 65 20 66 72 6f 6d 20 6f | 75 74 73 69 64 65 20 28 |e from o|utside (|
|000025f0| 61 74 20 6c 65 61 73 74 | 20 66 6f 72 20 72 65 67 |at least| for reg|
|00002600| 75 6c 61 72 20 75 73 65 | 72 73 29 2e 0a 58 0a 58 |ular use|rs)..X.X|
|00002610| 41 6e 6f 74 68 65 72 20 | 69 6d 70 6f 72 74 61 6e |Another |importan|
|00002620| 74 20 70 72 6f 70 65 72 | 74 79 20 69 73 20 74 68 |t proper|ty is th|
|00002630| 61 74 20 74 68 65 20 77 | 72 61 70 70 65 72 20 70 |at the w|rapper p|
|00002640| 72 6f 67 72 61 6d 73 20 | 61 72 65 20 61 63 74 69 |rograms |are acti|
|00002650| 76 65 20 6f 6e 6c 79 0a | 58 77 68 65 6e 20 74 68 |ve only.|Xwhen th|
|00002660| 65 20 69 6e 69 74 69 61 | 6c 20 63 6f 6e 74 61 63 |e initia|l contac|
|00002670| 74 20 62 65 74 77 65 65 | 6e 20 63 6c 69 65 6e 74 |t betwee|n client|
|00002680| 20 61 6e 64 20 73 65 72 | 76 65 72 20 69 73 20 65 | and ser|ver is e|
|00002690| 73 74 61 62 6c 69 73 68 | 65 64 2e 20 4f 6e 63 65 |stablish|ed. Once|
|000026a0| 0a 58 61 20 77 72 61 70 | 70 65 72 20 68 61 73 20 |.Xa wrap|per has |
|000026b0| 64 6f 6e 65 20 69 74 73 | 20 77 6f 72 6b 20 74 68 |done its| work th|
|000026c0| 65 72 65 20 69 73 20 6e | 6f 20 6f 76 65 72 68 65 |ere is n|o overhe|
|000026d0| 61 64 20 6f 6e 20 74 68 | 65 20 63 6c 69 65 6e 74 |ad on th|e client|
|000026e0| 2d 73 65 72 76 65 72 0a | 58 63 6f 6d 6d 75 6e 69 |-server.|Xcommuni|
|000026f0| 63 61 74 69 6f 6e 2e 0a | 58 0a 58 54 68 65 20 73 |cation..|X.XThe s|
|00002700| 69 6d 70 6c 65 20 6d 65 | 63 68 61 6e 69 73 6d 20 |imple me|chanism |
|00002710| 68 61 73 20 6f 6e 65 20 | 6d 61 6a 6f 72 20 64 72 |has one |major dr|
|00002720| 61 77 62 61 63 6b 3a 20 | 73 69 6e 63 65 20 74 68 |awback: |since th|
|00002730| 65 20 77 72 61 70 70 65 | 72 73 20 67 6f 20 61 77 |e wrappe|rs go aw|
|00002740| 61 79 0a 58 61 66 74 65 | 72 20 74 68 65 20 69 6e |ay.Xafte|r the in|
|00002750| 69 74 69 61 6c 20 63 6f | 6e 74 61 63 74 20 62 65 |itial co|ntact be|
|00002760| 74 77 65 65 6e 20 63 6c | 69 65 6e 74 20 61 6e 64 |tween cl|ient and|
|00002770| 20 73 65 72 76 65 72 20 | 70 72 6f 63 65 73 73 65 | server |processe|
|00002780| 73 2c 20 74 68 65 0a 58 | 77 72 61 70 70 65 72 73 |s, the.X|wrappers|
|00002790| 20 61 72 65 20 6f 66 20 | 6c 69 74 74 6c 65 20 75 | are of |little u|
|000027a0| 73 65 20 77 69 74 68 20 | 6e 65 74 77 6f 72 6b 20 |se with |network |
|000027b0| 64 61 65 6d 6f 6e 73 20 | 74 68 61 74 20 73 65 72 |daemons |that ser|
|000027c0| 76 69 63 65 20 6d 6f 72 | 65 20 74 68 61 6e 0a 58 |vice mor|e than.X|
|000027d0| 6f 6e 65 20 63 6c 69 65 | 6e 74 2e 20 20 54 68 65 |one clie|nt. The|
|000027e0| 20 77 72 61 70 70 65 72 | 73 20 77 6f 75 6c 64 20 | wrapper|s would |
|000027f0| 6f 6e 6c 79 20 73 65 65 | 20 74 68 65 20 66 69 72 |only see| the fir|
|00002800| 73 74 20 63 6c 69 65 6e | 74 20 61 74 74 65 6d 70 |st clien|t attemp|
|00002810| 74 20 74 6f 0a 58 63 6f | 6e 74 61 63 74 20 73 75 |t to.Xco|ntact su|
|00002820| 63 68 20 61 20 73 65 72 | 76 65 72 2e 20 54 68 65 |ch a ser|ver. The|
|00002830| 20 4e 46 53 20 6d 6f 75 | 6e 74 20 64 61 65 6d 6f | NFS mou|nt daemo|
|00002840| 6e 20 69 73 20 61 20 74 | 79 70 69 63 61 6c 20 65 |n is a t|ypical e|
|00002850| 78 61 6d 70 6c 65 20 6f | 66 0a 58 61 20 64 61 65 |xample o|f.Xa dae|
|00002860| 6d 6f 6e 20 74 68 61 74 | 20 73 65 72 76 69 63 65 |mon that| service|
|00002870| 73 20 72 65 71 75 65 73 | 74 73 20 66 72 6f 6d 20 |s reques|ts from |
|00002880| 6d 75 6c 74 69 70 6c 65 | 20 63 6c 69 65 6e 74 73 |multiple| clients|
|00002890| 2e 0a 58 0a 58 54 68 65 | 72 65 20 61 72 65 20 74 |..X.XThe|re are t|
|000028a0| 77 6f 20 77 61 79 73 20 | 74 6f 20 75 73 65 20 74 |wo ways |to use t|
|000028b0| 68 65 20 77 72 61 70 70 | 65 72 20 70 72 6f 67 72 |he wrapp|er progr|
|000028c0| 61 6d 73 3a 0a 58 0a 58 | 31 29 20 54 68 65 20 65 |ams:.X.X|1) The e|
|000028d0| 61 73 79 20 77 61 79 3a | 20 6d 6f 76 65 20 6e 65 |asy way:| move ne|
|000028e0| 74 77 6f 72 6b 20 64 61 | 65 6d 6f 6e 73 20 74 6f |twork da|emons to|
|000028f0| 20 73 6f 6d 65 20 6f 74 | 68 65 72 20 64 69 72 65 | some ot|her dire|
|00002900| 63 74 6f 72 79 20 61 6e | 64 20 66 69 6c 6c 0a 58 |ctory an|d fill.X|
|00002910| 20 20 20 74 68 65 20 72 | 65 73 75 6c 74 69 6e 67 | the r|esulting|
|00002920| 20 68 6f 6c 65 73 20 77 | 69 74 68 20 63 6f 70 69 | holes w|ith copi|
|00002930| 65 73 20 6f 66 20 74 68 | 65 20 77 72 61 70 70 65 |es of th|e wrappe|
|00002940| 72 20 70 72 6f 67 72 61 | 6d 73 2e 20 20 54 68 69 |r progra|ms. Thi|
|00002950| 73 0a 58 20 20 20 61 70 | 70 72 6f 61 63 68 20 69 |s.X ap|proach i|
|00002960| 6e 76 6f 6c 76 65 73 20 | 6e 6f 20 63 68 61 6e 67 |nvolves |no chang|
|00002970| 65 73 20 74 6f 20 63 6f | 6e 66 69 67 75 72 61 74 |es to co|nfigurat|
|00002980| 69 6f 6e 20 66 69 6c 65 | 73 2c 20 73 6f 20 74 68 |ion file|s, so th|
|00002990| 65 72 65 20 69 73 0a 58 | 20 20 20 76 65 72 79 20 |ere is.X| very |
|000029a0| 6c 69 74 74 6c 65 20 72 | 69 73 6b 20 6f 66 20 62 |little r|isk of b|
|000029b0| 72 65 61 6b 69 6e 67 20 | 74 68 69 6e 67 73 2e 0a |reaking |things..|
|000029c0| 58 0a 58 32 29 20 54 68 | 65 20 61 64 76 61 6e 63 |X.X2) Th|e advanc|
|000029d0| 65 64 20 77 61 79 3a 20 | 6c 65 61 76 65 20 74 68 |ed way: |leave th|
|000029e0| 65 20 6e 65 74 77 6f 72 | 6b 20 64 61 65 6d 6f 6e |e networ|k daemon|
|000029f0| 73 20 61 6c 6f 6e 65 20 | 61 6e 64 20 6d 6f 64 69 |s alone |and modi|
|00002a00| 66 79 20 74 68 65 0a 58 | 20 20 20 69 6e 65 74 64 |fy the.X| inetd|
|00002a10| 20 63 6f 6e 66 69 67 75 | 72 61 74 69 6f 6e 20 66 | configu|ration f|
|00002a20| 69 6c 65 2e 20 20 46 6f | 72 20 65 78 61 6d 70 6c |ile. Fo|r exampl|
|00002a30| 65 2c 20 61 6e 20 65 6e | 74 72 79 20 73 75 63 68 |e, an en|try such|
|00002a40| 20 61 73 3a 0a 58 0a 58 | 20 20 20 20 20 74 66 74 | as:.X.X| tft|
|00002a50| 70 20 20 64 67 72 61 6d | 20 20 75 64 70 20 20 77 |p dgram| udp w|
|00002a60| 61 69 74 20 20 72 6f 6f | 74 20 20 2f 75 73 72 2f |ait roo|t /usr/|
|00002a70| 65 74 63 2f 74 63 70 64 | 20 20 69 6e 2e 74 66 74 |etc/tcpd| in.tft|
|00002a80| 70 64 20 2d 73 20 2f 74 | 66 74 70 62 6f 6f 74 0a |pd -s /t|ftpboot.|
|00002a90| 58 0a 58 20 20 20 57 68 | 65 6e 20 61 20 74 66 74 |X.X Wh|en a tft|
|00002aa0| 70 20 72 65 71 75 65 73 | 74 20 61 72 72 69 76 65 |p reques|t arrive|
|00002ab0| 73 2c 20 69 6e 65 74 64 | 20 77 69 6c 6c 20 72 75 |s, inetd| will ru|
|00002ac0| 6e 20 74 68 65 20 77 72 | 61 70 70 65 72 20 70 72 |n the wr|apper pr|
|00002ad0| 6f 67 72 61 6d 0a 58 20 | 20 20 28 74 63 70 64 29 |ogram.X | (tcpd)|
|00002ae0| 20 77 69 74 68 20 61 20 | 70 72 6f 63 65 73 73 20 | with a |process |
|00002af0| 6e 61 6d 65 20 60 69 6e | 2e 74 66 74 70 64 27 2e |name `in|.tftpd'.|
|00002b00| 20 20 54 68 69 73 20 69 | 73 20 74 68 65 20 6e 61 | This i|s the na|
|00002b10| 6d 65 20 74 68 61 74 20 | 74 68 65 0a 58 20 20 20 |me that |the.X |
|00002b20| 77 72 61 70 70 65 72 20 | 77 69 6c 6c 20 75 73 65 |wrapper |will use|
|00002b30| 20 77 68 65 6e 20 6c 6f | 67 67 69 6e 67 20 74 68 | when lo|gging th|
|00002b40| 65 20 72 65 71 75 65 73 | 74 20 61 6e 64 20 77 68 |e reques|t and wh|
|00002b50| 65 6e 20 73 63 61 6e 6e | 69 6e 67 20 74 68 65 0a |en scann|ing the.|
|00002b60| 58 20 20 20 6f 70 74 69 | 6f 6e 61 6c 20 61 63 63 |X opti|onal acc|
|00002b70| 65 73 73 20 63 6f 6e 74 | 72 6f 6c 20 74 61 62 6c |ess cont|rol tabl|
|00002b80| 65 73 2e 20 20 60 69 6e | 2e 74 66 74 70 64 27 20 |es. `in|.tftpd' |
|00002b90| 69 73 20 61 6c 73 6f 20 | 74 68 65 20 6e 61 6d 65 |is also |the name|
|00002ba0| 20 6f 66 20 74 68 65 0a | 58 20 20 20 73 65 72 76 | of the.|X serv|
|00002bb0| 65 72 20 70 72 6f 67 72 | 61 6d 20 74 68 61 74 20 |er progr|am that |
|00002bc0| 74 68 65 20 77 72 61 70 | 70 65 72 20 77 69 6c 6c |the wrap|per will|
|00002bd0| 20 61 74 74 65 6d 70 74 | 20 74 6f 20 72 75 6e 20 | attempt| to run |
|00002be0| 77 68 65 6e 20 61 6c 6c | 20 69 73 0a 58 20 20 20 |when all| is.X |
|00002bf0| 77 65 6c 6c 2e 20 20 41 | 6e 79 20 61 72 67 75 6d |well. A|ny argum|
|00002c00| 65 6e 74 73 20 28 60 2d | 73 20 2f 74 66 74 70 62 |ents (`-|s /tftpb|
|00002c10| 6f 6f 74 27 20 69 6e 20 | 74 68 69 73 20 70 61 72 |oot' in |this par|
|00002c20| 74 69 63 75 6c 61 72 20 | 65 78 61 6d 70 6c 65 29 |ticular |example)|
|00002c30| 20 61 72 65 0a 58 20 20 | 20 74 72 61 6e 73 70 61 | are.X | transpa|
|00002c40| 72 65 6e 74 6c 79 20 70 | 61 73 73 65 64 20 6f 6e |rently p|assed on|
|00002c50| 20 74 6f 20 74 68 65 20 | 73 65 72 76 65 72 20 70 | to the |server p|
|00002c60| 72 6f 67 72 61 6d 2e 0a | 58 0a 58 46 6f 72 20 61 |rogram..|X.XFor a|
|00002c70| 6e 20 61 63 63 6f 75 6e | 74 20 6f 66 20 74 68 65 |n accoun|t of the|
|00002c80| 20 68 69 73 74 6f 72 79 | 20 6f 66 20 74 68 65 20 | history| of the |
|00002c90| 77 72 61 70 70 65 72 20 | 70 72 6f 67 72 61 6d 73 |wrapper |programs|
|00002ca0| 2c 20 77 69 74 68 20 72 | 65 61 6c 2d 6c 69 66 65 |, with r|eal-life|
|00002cb0| 0a 58 65 78 61 6d 70 6c | 65 73 2c 20 73 65 65 20 |.Xexampl|es, see |
|00002cc0| 74 68 65 20 73 65 63 74 | 69 6f 6e 20 62 65 6c 6f |the sect|ion belo|
|00002cd0| 77 20 6f 6e 20 72 65 6c | 61 74 65 64 20 64 6f 63 |w on rel|ated doc|
|00002ce0| 75 6d 65 6e 74 73 2e 0a | 58 0a 58 33 2e 32 20 2d |uments..|X.X3.2 -|
|00002cf0| 20 57 68 65 72 65 20 74 | 68 65 20 6c 6f 67 67 69 | Where t|he loggi|
|00002d00| 6e 67 20 69 6e 66 6f 72 | 6d 61 74 69 6f 6e 20 67 |ng infor|mation g|
|00002d10| 6f 65 73 0a 58 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |oes.X---|--------|
|00002d20| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002d30| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 0a 58 0a |--------|-----.X.|
|00002d40| 58 54 68 65 20 77 72 61 | 70 70 65 72 20 70 72 6f |XThe wra|pper pro|
|00002d50| 67 72 61 6d 73 20 73 65 | 6e 64 20 74 68 65 69 72 |grams se|nd their|
|00002d60| 20 6c 6f 67 67 69 6e 67 | 20 69 6e 66 6f 72 6d 61 | logging| informa|
|00002d70| 74 69 6f 6e 20 74 6f 20 | 74 68 65 20 73 79 73 6c |tion to |the sysl|
|00002d80| 6f 67 0a 58 64 61 65 6d | 6f 6e 20 28 73 79 73 6c |og.Xdaem|on (sysl|
|00002d90| 6f 67 64 29 2e 20 54 68 | 65 20 64 69 73 70 6f 73 |ogd). Th|e dispos|
|00002da0| 69 74 69 6f 6e 20 6f 66 | 20 74 68 65 20 77 72 61 |ition of| the wra|
|00002db0| 70 70 65 72 20 6c 6f 67 | 73 20 69 73 20 64 65 74 |pper log|s is det|
|00002dc0| 65 72 6d 69 6e 65 64 20 | 62 79 0a 58 74 68 65 20 |ermined |by.Xthe |
|00002dd0| 73 79 73 6c 6f 67 20 63 | 6f 6e 66 69 67 75 72 61 |syslog c|onfigura|
|00002de0| 74 69 6f 6e 20 66 69 6c | 65 20 28 75 73 75 61 6c |tion fil|e (usual|
|00002df0| 6c 79 20 2f 65 74 63 2f | 73 79 73 6c 6f 67 2e 63 |ly /etc/|syslog.c|
|00002e00| 6f 6e 66 29 2e 20 4d 65 | 73 73 61 67 65 73 20 61 |onf). Me|ssages a|
|00002e10| 72 65 0a 58 77 72 69 74 | 74 65 6e 20 74 6f 20 66 |re.Xwrit|ten to f|
|00002e20| 69 6c 65 73 2c 20 74 6f | 20 74 68 65 20 63 6f 6e |iles, to| the con|
|00002e30| 73 6f 6c 65 2c 20 6f 72 | 20 61 72 65 20 66 6f 72 |sole, or| are for|
|00002e40| 77 61 72 64 65 64 20 74 | 6f 20 61 20 40 6c 6f 67 |warded t|o a @log|
|00002e50| 68 6f 73 74 2e 0a 58 0a | 58 4f 6c 64 65 72 20 73 |host..X.|XOlder s|
|00002e60| 79 73 6c 6f 67 20 69 6d | 70 6c 65 6d 65 6e 74 61 |yslog im|plementa|
|00002e70| 74 69 6f 6e 73 20 28 73 | 74 69 6c 6c 20 66 6f 75 |tions (s|till fou|
|00002e80| 6e 64 20 6f 6e 20 55 6c | 74 72 69 78 20 73 79 73 |nd on Ul|trix sys|
|00002e90| 74 65 6d 73 29 20 6f 6e | 6c 79 0a 58 73 75 70 70 |tems) on|ly.Xsupp|
|00002ea0| 6f 72 74 20 70 72 69 6f | 72 69 74 79 20 6c 65 76 |ort prio|rity lev|
|00002eb0| 65 6c 73 20 72 61 6e 67 | 69 6e 67 20 66 72 6f 6d |els rang|ing from|
|00002ec0| 20 39 20 28 64 65 62 75 | 67 2d 6c 65 76 65 6c 20 | 9 (debu|g-level |
|00002ed0| 6d 65 73 73 61 67 65 73 | 29 20 74 6f 20 30 0a 58 |messages|) to 0.X|
|00002ee0| 28 61 6c 65 72 74 73 29 | 2e 20 41 6c 6c 20 6c 6f |(alerts)|. All lo|
|00002ef0| 67 67 69 6e 67 20 69 6e | 66 6f 72 6d 61 74 69 6f |gging in|formatio|
|00002f00| 6e 20 6f 66 20 74 68 65 | 20 73 61 6d 65 20 70 72 |n of the| same pr|
|00002f10| 69 6f 72 69 74 79 20 6c | 65 76 65 6c 20 28 6f 72 |iority l|evel (or|
|00002f20| 20 6d 6f 72 65 0a 58 75 | 72 67 65 6e 74 29 20 69 | more.Xu|rgent) i|
|00002f30| 73 20 77 72 69 74 74 65 | 6e 20 74 6f 20 74 68 65 |s writte|n to the|
|00002f40| 20 73 61 6d 65 20 64 65 | 73 74 69 6e 61 74 69 6f | same de|stinatio|
|00002f50| 6e 2e 20 20 49 6e 20 74 | 68 65 20 73 79 73 6c 6f |n. In t|he syslo|
|00002f60| 67 2e 63 6f 6e 66 20 66 | 69 6c 65 2c 0a 58 70 72 |g.conf f|ile,.Xpr|
|00002f70| 69 6f 72 69 74 79 20 6c | 65 76 65 6c 73 20 61 72 |iority l|evels ar|
|00002f80| 65 20 73 70 65 63 69 66 | 69 65 64 20 69 6e 20 6e |e specif|ied in n|
|00002f90| 75 6d 65 72 69 63 61 6c | 20 66 6f 72 6d 2e 20 20 |umerical| form. |
|00002fa0| 46 6f 72 20 65 78 61 6d | 70 6c 65 2c 0a 58 0a 58 |For exam|ple,.X.X|
|00002fb0| 20 20 20 20 38 2f 75 73 | 72 2f 73 70 6f 6f 6c 2f | 8/us|r/spool/|
|00002fc0| 6d 71 75 65 75 65 2f 73 | 79 73 6c 6f 67 0a 58 0a |mqueue/s|yslog.X.|
|00002fd0| 58 63 61 75 73 65 73 20 | 61 6c 6c 20 6d 65 73 73 |Xcauses |all mess|
|00002fe0| 61 67 65 73 20 77 69 74 | 68 20 70 72 69 6f 72 69 |ages wit|h priori|
|00002ff0| 74 79 20 38 20 28 69 6e | 66 6f 72 6d 61 74 69 6f |ty 8 (in|formatio|
|00003000| 6e 61 6c 20 6d 65 73 73 | 61 67 65 73 29 2c 20 61 |nal mess|ages), a|
|00003010| 6e 64 0a 58 61 6e 79 74 | 68 69 6e 67 20 74 68 61 |nd.Xanyt|hing tha|
|00003020| 74 20 69 73 20 6d 6f 72 | 65 20 75 72 67 65 6e 74 |t is mor|e urgent|
|00003030| 2c 20 74 6f 20 62 65 20 | 61 70 70 65 6e 64 65 64 |, to be |appended|
|00003040| 20 74 6f 20 74 68 65 20 | 66 69 6c 65 0a 58 2f 75 | to the |file.X/u|
|00003050| 73 72 2f 73 70 6f 6f 6c | 2f 6d 71 75 65 75 65 2f |sr/spool|/mqueue/|
|00003060| 73 79 73 6c 6f 67 2e 0a | 58 0a 58 4e 65 77 65 72 |syslog..|X.XNewer|
|00003070| 20 73 79 73 6c 6f 67 20 | 69 6d 70 6c 65 6d 65 6e | syslog |implemen|
|00003080| 74 61 74 69 6f 6e 73 20 | 73 75 70 70 6f 72 74 20 |tations |support |
|00003090| 6d 65 73 73 61 67 65 20 | 63 6c 61 73 73 65 73 20 |message |classes |
|000030a0| 69 6e 20 61 64 64 69 74 | 69 6f 6e 20 74 6f 0a 58 |in addit|ion to.X|
|000030b0| 70 72 69 6f 72 69 74 79 | 20 6c 65 76 65 6c 73 2e |priority| levels.|
|000030c0| 20 20 45 78 61 6d 70 6c | 65 73 20 6f 66 20 6d 65 | Exampl|es of me|
|000030d0| 73 73 61 67 65 20 63 6c | 61 73 73 65 73 20 61 72 |ssage cl|asses ar|
|000030e0| 65 3a 20 6d 61 69 6c 2c | 20 64 61 65 6d 6f 6e 2c |e: mail,| daemon,|
|000030f0| 20 61 75 74 68 0a 58 61 | 6e 64 20 6e 65 77 73 2e | auth.Xa|nd news.|
|00003100| 20 49 6e 20 74 68 65 20 | 73 79 73 6c 6f 67 2e 63 | In the |syslog.c|
|00003110| 6f 6e 66 20 66 69 6c 65 | 2c 20 70 72 69 6f 72 69 |onf file|, priori|
|00003120| 74 79 20 6c 65 76 65 6c | 73 20 61 72 65 20 73 70 |ty level|s are sp|
|00003130| 65 63 69 66 69 65 64 20 | 77 69 74 68 0a 58 73 79 |ecified |with.Xsy|
|00003140| 6d 62 6f 6c 69 63 20 6e | 61 6d 65 73 3a 20 64 65 |mbolic n|ames: de|
|00003150| 62 75 67 2c 20 69 6e 66 | 6f 2c 20 6e 6f 74 69 63 |bug, inf|o, notic|
|00003160| 65 2c 20 2e 2e 2e 2c 20 | 65 6d 65 72 67 2e 20 46 |e, ..., |emerg. F|
|00003170| 6f 72 20 65 78 61 6d 70 | 6c 65 2c 0a 58 0a 58 20 |or examp|le,.X.X |
|00003180| 20 20 20 6d 61 69 6c 2e | 64 65 62 75 67 09 09 09 | mail.|debug...|
|00003190| 2f 76 61 72 2f 6c 6f 67 | 2f 73 79 73 6c 6f 67 0a |/var/log|/syslog.|
|000031a0| 58 0a 58 63 61 75 73 65 | 73 20 61 6c 6c 20 6d 65 |X.Xcause|s all me|
|000031b0| 73 73 61 67 65 73 20 6f | 66 20 63 6c 61 73 73 20 |ssages o|f class |
|000031c0| 6d 61 69 6c 20 77 69 74 | 68 20 70 72 69 6f 72 69 |mail wit|h priori|
|000031d0| 74 79 20 64 65 62 75 67 | 20 28 6f 72 20 6d 6f 72 |ty debug| (or mor|
|000031e0| 65 20 75 72 67 65 6e 74 | 29 0a 58 74 6f 20 62 65 |e urgent|).Xto be|
|000031f0| 20 61 70 70 65 6e 64 65 | 64 20 74 6f 20 74 68 65 | appende|d to the|
|00003200| 20 2f 76 61 72 2f 6c 6f | 67 2f 73 79 73 6c 6f 67 | /var/lo|g/syslog|
|00003210| 20 66 69 6c 65 2e 0a 58 | 0a 58 42 79 20 64 65 66 | file..X|.XBy def|
|00003220| 61 75 6c 74 2c 20 74 68 | 65 20 77 72 61 70 70 65 |ault, th|e wrappe|
|00003230| 72 20 6c 6f 67 73 20 67 | 6f 20 74 6f 20 74 68 65 |r logs g|o to the|
|00003240| 20 73 61 6d 65 20 70 6c | 61 63 65 20 61 73 20 74 | same pl|ace as t|
|00003250| 68 65 20 74 72 61 6e 73 | 61 63 74 69 6f 6e 0a 58 |he trans|action.X|
|00003260| 6c 6f 67 73 20 6f 66 20 | 74 68 65 20 73 65 6e 64 |logs of |the send|
|00003270| 6d 61 69 6c 20 64 61 65 | 6d 6f 6e 2e 20 54 68 65 |mail dae|mon. The|
|00003280| 20 64 69 73 70 6f 73 69 | 74 69 6f 6e 20 63 61 6e | disposi|tion can|
|00003290| 20 62 65 20 63 68 61 6e | 67 65 64 20 62 79 20 65 | be chan|ged by e|
|000032a0| 64 69 74 69 6e 67 0a 58 | 74 68 65 20 4d 61 6b 65 |diting.X|the Make|
|000032b0| 66 69 6c 65 20 61 6e 64 | 2f 6f 72 20 74 68 65 20 |file and|/or the |
|000032c0| 73 79 73 6c 6f 67 2e 63 | 6f 6e 66 20 66 69 6c 65 |syslog.c|onf file|
|000032d0| 2e 20 53 65 6e 64 20 61 | 20 60 6b 69 6c 6c 20 2d |. Send a| `kill -|
|000032e0| 48 55 50 27 20 74 6f 20 | 74 68 65 0a 58 73 79 73 |HUP' to |the.Xsys|
|000032f0| 6c 6f 67 64 20 61 66 74 | 65 72 20 63 68 61 6e 67 |logd aft|er chang|
|00003300| 69 6e 67 20 69 74 73 20 | 63 6f 6e 66 69 67 75 72 |ing its |configur|
|00003310| 61 74 69 6f 6e 20 66 69 | 6c 65 2e 20 52 65 6d 65 |ation fi|le. Reme|
|00003320| 6d 62 65 72 20 74 68 61 | 74 20 73 79 73 6c 6f 67 |mber tha|t syslog|
|00003330| 64 2c 0a 58 6a 75 73 74 | 20 6c 69 6b 65 20 73 65 |d,.Xjust| like se|
|00003340| 6e 64 6d 61 69 6c 2c 20 | 69 6e 73 69 73 74 73 20 |ndmail, |insists |
|00003350| 6f 6e 20 6f 6e 65 20 6f | 72 20 6d 6f 72 65 20 54 |on one o|r more T|
|00003360| 41 42 73 20 62 65 74 77 | 65 65 6e 20 74 68 65 20 |ABs betw|een the |
|00003370| 6c 65 66 74 2d 68 61 6e | 64 0a 58 73 69 64 65 20 |left-han|d.Xside |
|00003380| 61 6e 64 20 74 68 65 20 | 72 69 67 68 74 2d 68 61 |and the |right-ha|
|00003390| 6e 64 20 73 69 64 65 20 | 65 78 70 72 65 73 73 69 |nd side |expressi|
|000033a0| 6f 6e 73 20 69 6e 20 69 | 74 73 20 63 6f 6e 66 69 |ons in i|ts confi|
|000033b0| 67 75 72 61 74 69 6f 6e | 20 66 69 6c 65 2e 0a 58 |guration| file..X|
|000033c0| 0a 58 34 20 2d 20 46 65 | 61 74 75 72 65 73 0a 58 |.X4 - Fe|atures.X|
|000033d0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 0a 58 0a 58 |--------|----.X.X|
|000033e0| 34 2e 31 20 2d 20 41 63 | 63 65 73 73 20 63 6f 6e |4.1 - Ac|cess con|
|000033f0| 74 72 6f 6c 0a 58 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |trol.X--|--------|
|00003400| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 0a 58 0a 58 57 68 |--------|--.X.XWh|
|00003410| 65 6e 20 63 6f 6d 70 69 | 6c 65 64 20 77 69 74 68 |en compi|led with|
|00003420| 20 2d 44 48 4f 53 54 53 | 5f 41 43 43 45 53 53 2c | -DHOSTS|_ACCESS,|
|00003430| 20 74 68 65 20 77 72 61 | 70 70 65 72 20 70 72 6f | the wra|pper pro|
|00003440| 67 72 61 6d 73 20 73 75 | 70 70 6f 72 74 20 61 0a |grams su|pport a.|
|00003450| 58 73 69 6d 70 6c 65 20 | 66 6f 72 6d 20 6f 66 20 |Xsimple |form of |
|00003460| 61 63 63 65 73 73 20 63 | 6f 6e 74 72 6f 6c 2e 20 |access c|ontrol. |
|00003470| 20 41 63 63 65 73 73 20 | 63 61 6e 20 62 65 20 63 | Access |can be c|
|00003480| 6f 6e 74 72 6f 6c 6c 65 | 64 20 70 65 72 20 68 6f |ontrolle|d per ho|
|00003490| 73 74 2c 20 70 65 72 0a | 58 73 65 72 76 69 63 65 |st, per.|Xservice|
|000034a0| 2c 20 6f 72 20 63 6f 6d | 62 69 6e 61 74 69 6f 6e |, or com|bination|
|000034b0| 73 20 74 68 65 72 65 6f | 66 2e 20 54 68 65 20 73 |s thereo|f. The s|
|000034c0| 6f 66 74 77 61 72 65 20 | 70 72 6f 76 69 64 65 73 |oftware |provides|
|000034d0| 20 68 6f 6f 6b 73 20 66 | 6f 72 20 74 68 65 0a 58 | hooks f|or the.X|
|000034e0| 65 78 65 63 75 74 69 6f | 6e 20 6f 66 20 73 68 65 |executio|n of she|
|000034f0| 6c 6c 20 63 6f 6d 6d 61 | 6e 64 73 20 77 68 65 6e |ll comma|nds when|
|00003500| 20 61 6e 20 61 63 63 65 | 73 73 20 63 6f 6e 74 72 | an acce|ss contr|
|00003510| 6f 6c 20 72 75 6c 65 20 | 66 69 72 65 73 3b 20 74 |ol rule |fires; t|
|00003520| 68 69 73 0a 58 66 65 61 | 74 75 72 65 20 6d 61 79 |his.Xfea|ture may|
|00003530| 20 62 65 20 75 73 65 64 | 20 74 6f 20 69 6e 73 74 | be used| to inst|
|00003540| 61 6c 6c 20 22 62 6f 6f | 62 79 20 74 72 61 70 73 |all "boo|by traps|
|00003550| 22 2e 20 20 46 6f 72 20 | 64 65 74 61 69 6c 73 2c |". For |details,|
|00003560| 20 73 65 65 20 74 68 65 | 0a 58 68 6f 73 74 73 5f | see the|.Xhosts_|
|00003570| 61 63 63 65 73 73 2e 35 | 20 6d 61 6e 75 61 6c 20 |access.5| manual |
|00003580| 70 61 67 65 2c 20 77 68 | 69 63 68 20 69 73 20 69 |page, wh|ich is i|
|00003590| 6e 20 60 6e 72 6f 66 66 | 20 2d 6d 61 6e 27 20 66 |n `nroff| -man' f|
|000035a0| 6f 72 6d 61 74 2e 20 41 | 20 6c 61 74 65 72 0a 58 |ormat. A| later.X|
|000035b0| 73 65 63 74 69 6f 6e 20 | 64 65 73 63 72 69 62 65 |section |describe|
|000035c0| 73 20 68 6f 77 20 79 6f | 75 20 63 61 6e 20 74 65 |s how yo|u can te|
|000035d0| 73 74 20 79 6f 75 72 20 | 61 63 63 65 73 73 20 63 |st your |access c|
|000035e0| 6f 6e 74 72 6f 6c 20 72 | 75 6c 65 73 2e 0a 58 0a |ontrol r|ules..X.|
|000035f0| 58 41 63 63 65 73 73 20 | 63 6f 6e 74 72 6f 6c 20 |XAccess |control |
|00003600| 69 73 20 65 6e 61 62 6c | 65 64 20 62 79 20 64 65 |is enabl|ed by de|
|00003610| 66 61 75 6c 74 2e 20 49 | 74 20 63 61 6e 20 62 65 |fault. I|t can be|
|00003620| 20 74 75 72 6e 65 64 20 | 6f 66 66 20 62 79 20 65 | turned |off by e|
|00003630| 64 69 74 69 6e 67 0a 58 | 74 68 65 20 4d 61 6b 65 |diting.X|the Make|
|00003640| 66 69 6c 65 2c 20 6f 72 | 20 62 79 20 70 72 6f 76 |file, or| by prov|
|00003650| 69 64 69 6e 67 20 6e 6f | 20 61 63 63 65 73 73 20 |iding no| access |
|00003660| 63 6f 6e 74 72 6f 6c 20 | 74 61 62 6c 65 73 2e 20 |control |tables. |
|00003670| 54 68 65 20 69 6e 73 74 | 61 6c 6c 0a 58 69 6e 73 |The inst|all.Xins|
|00003680| 74 72 75 63 74 69 6f 6e | 73 20 62 65 6c 6f 77 20 |truction|s below |
|00003690| 64 65 73 63 72 69 62 65 | 20 74 68 65 20 4d 61 6b |describe| the Mak|
|000036a0| 65 66 69 6c 65 20 65 64 | 69 74 69 6e 67 20 70 72 |efile ed|iting pr|
|000036b0| 6f 63 65 73 73 2e 0a 58 | 0a 58 34 2e 32 20 2d 20 |ocess..X|.X4.2 - |
|000036c0| 48 6f 73 74 20 6e 61 6d | 65 20 73 70 6f 6f 66 69 |Host nam|e spoofi|
|000036d0| 6e 67 0a 58 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |ng.X----|--------|
|000036e0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 0a 58 0a 58 |--------|----.X.X|
|000036f0| 57 69 74 68 20 73 6f 6d | 65 20 6e 65 74 77 6f 72 |With som|e networ|
|00003700| 6b 20 61 70 70 6c 69 63 | 61 74 69 6f 6e 73 2c 20 |k applic|ations, |
|00003710| 73 75 63 68 20 61 73 20 | 52 53 48 20 6f 72 20 52 |such as |RSH or R|
|00003720| 4c 4f 47 49 4e 2c 20 74 | 68 65 20 72 65 6d 6f 74 |LOGIN, t|he remot|
|00003730| 65 20 68 6f 73 74 0a 58 | 6e 61 6d 65 20 70 6c 61 |e host.X|name pla|
|00003740| 79 73 20 61 6e 20 69 6d | 70 6f 72 74 61 6e 74 20 |ys an im|portant |
|00003750| 72 6f 6c 65 20 69 6e 20 | 74 68 65 20 61 75 74 68 |role in |the auth|
|00003760| 65 6e 74 69 63 61 74 69 | 6f 6e 20 70 72 6f 63 65 |enticati|on proce|
|00003770| 73 73 2e 20 48 6f 73 74 | 20 6e 61 6d 65 0a 58 69 |ss. Host| name.Xi|
|00003780| 6e 66 6f 72 6d 61 74 69 | 6f 6e 20 63 61 6e 20 62 |nformati|on can b|
|00003790| 65 20 72 65 6c 69 61 62 | 6c 65 20 77 68 65 6e 20 |e reliab|le when |
|000037a0| 6c 6f 6f 6b 75 70 73 20 | 61 72 65 20 64 6f 6e 65 |lookups |are done|
|000037b0| 20 66 72 6f 6d 20 61 20 | 5f 6c 6f 63 61 6c 5f 20 | from a |_local_ |
|000037c0| 68 6f 73 74 73 0a 58 74 | 61 62 6c 65 2c 20 70 72 |hosts.Xt|able, pr|
|000037d0| 6f 76 69 64 65 64 20 74 | 68 61 74 20 74 68 65 20 |ovided t|hat the |
|000037e0| 63 6c 69 65 6e 74 20 49 | 50 20 61 64 64 72 65 73 |client I|P addres|
|000037f0| 73 20 63 61 6e 20 62 65 | 20 74 72 75 73 74 65 64 |s can be| trusted|
|00003800| 2e 0a 58 0a 58 57 69 74 | 68 20 5f 64 69 73 74 72 |..X.XWit|h _distr|
|00003810| 69 62 75 74 65 64 5f 20 | 6e 61 6d 65 20 73 65 72 |ibuted_ |name ser|
|00003820| 76 69 63 65 73 2c 20 61 | 75 74 68 65 6e 74 69 63 |vices, a|uthentic|
|00003830| 61 74 69 6f 6e 20 73 63 | 68 65 6d 65 73 20 74 68 |ation sc|hemes th|
|00003840| 61 74 20 72 65 6c 79 20 | 6f 6e 0a 58 68 6f 73 74 |at rely |on.Xhost|
|00003850| 20 6e 61 6d 65 73 20 62 | 65 63 6f 6d 65 20 6d 6f | names b|ecome mo|
|00003860| 72 65 20 70 72 6f 62 6c | 65 6d 61 74 69 63 2e 20 |re probl|ematic. |
|00003870| 54 68 65 20 73 65 63 75 | 72 69 74 79 20 6f 66 20 |The secu|rity of |
|00003880| 79 6f 75 72 20 73 79 73 | 74 65 6d 20 6e 6f 77 20 |your sys|tem now |
|00003890| 6d 61 79 0a 58 64 65 70 | 65 6e 64 20 6f 6e 20 73 |may.Xdep|end on s|
|000038a0| 6f 6d 65 20 66 61 72 2d | 61 77 61 79 20 44 4e 53 |ome far-|away DNS|
|000038b0| 20 28 64 6f 6d 61 69 6e | 20 6e 61 6d 65 20 73 65 | (domain| name se|
|000038c0| 72 76 65 72 29 20 6f 75 | 74 73 69 64 65 20 79 6f |rver) ou|tside yo|
|000038d0| 75 72 20 6f 77 6e 0a 58 | 63 6f 6e 74 72 6f 6c 2e |ur own.X|control.|
|000038e0| 20 50 61 72 61 64 6f 78 | 69 63 61 6c 6c 79 2c 20 | Paradox|ically, |
|000038f0| 72 75 6e 6e 69 6e 67 20 | 4e 49 53 20 28 59 50 29 |running |NIS (YP)|
|00003900| 20 63 61 6e 20 61 63 74 | 75 61 6c 6c 79 20 69 6d | can act|ually im|
|00003910| 70 72 6f 76 65 20 68 6f | 73 74 6e 61 6d 65 0a 58 |prove ho|stname.X|
|00003920| 73 65 63 75 72 69 74 79 | 20 62 65 63 61 75 73 65 |security| because|
|00003930| 20 69 74 20 70 72 6f 76 | 69 64 65 73 20 79 6f 75 | it prov|ides you|
|00003940| 20 77 69 74 68 20 74 68 | 65 20 65 71 75 69 76 61 | with th|e equiva|
|00003950| 6c 65 6e 74 20 6f 66 20 | 61 20 6c 6f 63 61 6c 20 |lent of |a local |
|00003960| 68 6f 73 74 73 0a 58 66 | 69 6c 65 2e 0a 58 0a 58 |hosts.Xf|ile..X.X|
|00003970| 54 68 65 20 77 72 61 70 | 70 65 72 20 70 72 6f 67 |The wrap|per prog|
|00003980| 72 61 6d 73 20 76 65 72 | 69 66 79 20 74 68 65 20 |rams ver|ify the |
|00003990| 72 65 6d 6f 74 65 20 68 | 6f 73 74 20 6e 61 6d 65 |remote h|ost name|
|000039a0| 20 74 68 61 74 20 69 73 | 20 72 65 74 75 72 6e 65 | that is| returne|
|000039b0| 64 20 62 79 0a 58 74 68 | 65 20 61 64 64 72 65 73 |d by.Xth|e addres|
|000039c0| 73 2d 3e 6e 61 6d 65 20 | 44 4e 53 20 73 65 72 76 |s->name |DNS serv|
|000039d0| 65 72 2c 20 62 79 20 61 | 73 6b 69 6e 67 20 66 6f |er, by a|sking fo|
|000039e0| 72 20 61 20 73 65 63 6f | 6e 64 20 6f 70 69 6e 69 |r a seco|nd opini|
|000039f0| 6f 6e 2e 20 20 54 6f 20 | 74 68 69 73 0a 58 65 6e |on. To |this.Xen|
|00003a00| 64 2c 20 74 68 65 20 70 | 72 6f 67 72 61 6d 73 20 |d, the p|rograms |
|00003a10| 6c 6f 6f 6b 20 61 74 20 | 74 68 65 20 6e 61 6d 65 |look at |the name|
|00003a20| 20 61 6e 64 20 61 64 64 | 72 65 73 73 65 73 20 74 | and add|resses t|
|00003a30| 68 61 74 20 61 72 65 20 | 72 65 74 75 72 6e 65 64 |hat are |returned|
|00003a40| 20 62 79 0a 58 74 68 65 | 20 6e 61 6d 65 2d 3e 61 | by.Xthe| name->a|
|00003a50| 64 64 72 65 73 73 20 44 | 4e 53 20 73 65 72 76 65 |ddress D|NS serve|
|00003a60| 72 2e 20 49 66 20 61 6e | 79 20 64 69 73 63 72 65 |r. If an|y discre|
|00003a70| 70 61 6e 63 69 65 73 20 | 61 72 65 20 66 6f 75 6e |pancies |are foun|
|00003a80| 64 2c 20 74 68 65 0a 58 | 77 72 61 70 70 65 72 73 |d, the.X|wrappers|
|00003a90| 20 63 6f 6e 63 6c 75 64 | 65 20 74 68 61 74 20 61 | conclud|e that a|
|00003aa0| 74 20 6c 65 61 73 74 20 | 6f 6e 65 20 6f 66 20 74 |t least |one of t|
|00003ab0| 68 65 20 74 77 6f 20 6e | 61 6d 65 20 73 65 72 76 |he two n|ame serv|
|00003ac0| 65 72 73 20 69 73 20 6c | 79 69 6e 67 2c 0a 58 61 |ers is l|ying,.Xa|
|00003ad0| 6e 64 20 61 73 73 75 6d | 65 20 74 68 61 74 20 74 |nd assum|e that t|
|00003ae0| 68 65 79 20 61 72 65 20 | 64 65 61 6c 69 6e 67 20 |hey are |dealing |
|00003af0| 77 69 74 68 20 61 20 68 | 6f 73 74 20 74 68 61 74 |with a h|ost that|
|00003b00| 20 70 72 65 74 65 6e 64 | 73 20 74 6f 20 68 61 76 | pretend|s to hav|
|00003b10| 65 0a 58 73 6f 6d 65 6f | 6e 65 20 65 6c 73 65 73 |e.Xsomeo|ne elses|
|00003b20| 20 68 6f 73 74 20 6e 61 | 6d 65 2e 0a 58 0a 58 57 | host na|me..X.XW|
|00003b30| 68 65 6e 20 74 68 65 20 | 77 72 61 70 70 65 72 73 |hen the |wrappers|
|00003b40| 20 61 72 65 20 75 6e 61 | 62 6c 65 20 74 6f 20 76 | are una|ble to v|
|00003b50| 65 72 69 66 79 20 74 68 | 65 20 72 65 6d 6f 74 65 |erify th|e remote|
|00003b60| 20 68 6f 73 74 20 6e 61 | 6d 65 20 28 74 68 65 0a | host na|me (the.|
|00003b70| 58 61 64 64 72 65 73 73 | 2d 3e 6e 61 6d 65 20 6c |Xaddress|->name l|
|00003b80| 6f 6f 6b 75 70 20 73 75 | 63 63 65 65 64 73 20 62 |ookup su|cceeds b|
|00003b90| 75 74 20 74 68 65 20 6e | 61 6d 65 2d 3e 61 64 64 |ut the n|ame->add|
|00003ba0| 72 65 73 73 20 6c 6f 6f | 6b 75 70 20 66 61 69 6c |ress loo|kup fail|
|00003bb0| 73 29 2c 20 74 68 65 79 | 0a 58 61 6c 73 6f 20 61 |s), they|.Xalso a|
|00003bc0| 73 73 75 6d 65 20 74 68 | 61 74 20 74 68 65 20 68 |ssume th|at the h|
|00003bd0| 6f 73 74 20 6e 61 6d 65 | 20 69 73 20 77 72 6f 6e |ost name| is wron|
|00003be0| 67 2e 20 0a 58 0a 58 57 | 68 65 6e 20 74 68 65 20 |g. .X.XW|hen the |
|00003bf0| 72 65 6d 6f 74 65 20 68 | 6f 73 74 20 6e 61 6d 65 |remote h|ost name|
|00003c00| 20 69 73 20 75 6e 61 76 | 61 69 6c 61 62 6c 65 20 | is unav|ailable |
|00003c10| 28 74 68 65 20 61 64 64 | 72 65 73 73 2d 3e 6e 61 |(the add|ress->na|
|00003c20| 6d 65 20 6c 6f 6f 6b 75 | 70 0a 58 66 61 69 6c 73 |me looku|p.Xfails|
|00003c30| 29 20 74 68 65 20 77 72 | 61 70 70 65 72 73 20 6a |) the wr|appers j|
|00003c40| 75 73 74 20 75 73 65 20 | 74 68 65 20 72 65 6d 6f |ust use |the remo|
|00003c50| 74 65 20 68 6f 73 74 20 | 61 64 64 72 65 73 73 20 |te host |address |
|00003c60| 77 68 65 6e 20 6c 6f 67 | 67 69 6e 67 20 74 68 65 |when log|ging the|
|00003c70| 0a 58 63 6f 6e 6e 65 63 | 74 69 6f 6e 20 61 6e 64 |.Xconnec|tion and|
|00003c80| 20 77 68 65 6e 20 63 6f | 6e 73 75 6c 74 69 6e 67 | when co|nsulting|
|00003c90| 20 74 68 65 20 6f 70 74 | 69 6f 6e 61 6c 20 61 63 | the opt|ional ac|
|00003ca0| 63 65 73 73 20 63 6f 6e | 74 72 6f 6c 20 74 61 62 |cess con|trol tab|
|00003cb0| 6c 65 73 2e 0a 58 0a 58 | 57 68 65 6e 20 74 68 65 |les..X.X|When the|
|00003cc0| 20 73 6f 75 72 63 65 73 | 20 61 72 65 20 63 6f 6d | sources| are com|
|00003cd0| 70 69 6c 65 64 20 77 69 | 74 68 20 2d 44 50 41 52 |piled wi|th -DPAR|
|00003ce0| 41 4e 4f 49 44 2c 20 74 | 68 65 20 77 72 61 70 70 |ANOID, t|he wrapp|
|00003cf0| 65 72 73 20 77 69 6c 6c | 20 64 72 6f 70 0a 58 74 |ers will| drop.Xt|
|00003d00| 68 65 20 63 6f 6e 6e 65 | 63 74 69 6f 6e 20 69 6e |he conne|ction in|
|00003d10| 20 63 61 73 65 20 6f 66 | 20 61 20 68 6f 73 74 20 | case of| a host |
|00003d20| 6e 61 6d 65 2f 61 64 64 | 72 65 73 73 20 6d 69 73 |name/add|ress mis|
|00003d30| 6d 61 74 63 68 2e 20 57 | 68 65 6e 20 74 68 65 0a |match. W|hen the.|
|00003d40| 58 73 6f 75 72 63 65 73 | 20 61 72 65 20 6e 6f 74 |Xsources| are not|
|00003d50| 20 63 6f 6d 70 69 6c 65 | 64 20 77 69 74 68 20 2d | compile|d with -|
|00003d60| 44 50 41 52 41 4e 4f 49 | 44 2c 20 74 68 65 20 77 |DPARANOI|D, the w|
|00003d70| 72 61 70 70 65 72 73 20 | 6a 75 73 74 20 70 72 65 |rappers |just pre|
|00003d80| 74 65 6e 64 0a 58 74 68 | 61 74 20 74 68 65 20 68 |tend.Xth|at the h|
|00003d90| 6f 73 74 20 6e 61 6d 65 | 20 69 73 20 75 6e 6b 6e |ost name| is unkn|
|00003da0| 6f 77 6e 20 77 68 65 6e | 20 6c 6f 67 67 69 6e 67 |own when| logging|
|00003db0| 20 74 68 65 20 63 6f 6e | 6e 65 63 74 69 6f 6e 20 | the con|nection |
|00003dc0| 61 6e 64 20 77 68 65 6e | 0a 58 63 6f 6e 73 75 6c |and when|.Xconsul|
|00003dd0| 74 69 6e 67 20 74 68 65 | 20 6f 70 74 69 6f 6e 61 |ting the| optiona|
|00003de0| 6c 20 61 63 63 65 73 73 | 20 63 6f 6e 74 72 6f 6c |l access| control|
|00003df0| 20 74 61 62 6c 65 73 2e | 0a 58 0a 58 50 61 72 61 | tables.|.X.XPara|
|00003e00| 6e 6f 69 64 20 6d 6f 64 | 65 20 69 73 20 65 6e 61 |noid mod|e is ena|
|00003e10| 62 6c 65 64 20 62 79 20 | 64 65 66 61 75 6c 74 2e |bled by |default.|
|00003e20| 20 49 74 20 63 61 6e 20 | 62 65 20 74 75 72 6e 65 | It can |be turne|
|00003e30| 64 20 6f 66 66 20 62 79 | 20 65 64 69 74 69 6e 67 |d off by| editing|
|00003e40| 0a 58 74 68 65 20 4d 61 | 6b 65 66 69 6c 65 2e 20 |.Xthe Ma|kefile. |
|00003e50| 54 68 65 20 63 6f 6e 66 | 69 67 75 72 61 74 69 6f |The conf|iguratio|
|00003e60| 6e 20 61 6e 64 20 69 6e | 73 74 61 6c 6c 61 74 69 |n and in|stallati|
|00003e70| 6f 6e 20 62 65 6c 6f 77 | 20 64 65 73 63 72 69 62 |on below| describ|
|00003e80| 65 73 20 74 68 65 0a 58 | 4d 61 6b 65 66 69 6c 65 |es the.X|Makefile|
|00003e90| 20 65 64 69 74 69 6e 67 | 20 70 72 6f 63 65 73 73 | editing| process|
|00003ea0| 2e 0a 58 0a 58 34 2e 33 | 20 2d 20 48 6f 73 74 20 |..X.X4.3| - Host |
|00003eb0| 61 64 64 72 65 73 73 20 | 73 70 6f 6f 66 69 6e 67 |address |spoofing|
|00003ec0| 0a 58 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |.X------|--------|
|00003ed0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 0a 58 0a |--------|-----.X.|
|00003ee0| 58 57 68 69 6c 65 20 68 | 6f 73 74 20 6e 61 6d 65 |XWhile h|ost name|
|00003ef0| 20 73 70 6f 6f 66 69 6e | 67 20 63 61 6e 20 62 65 | spoofin|g can be|
|00003f00| 20 66 6f 75 6e 64 20 6f | 75 74 20 62 79 20 61 73 | found o|ut by as|
|00003f10| 6b 69 6e 67 20 61 20 73 | 65 63 6f 6e 64 20 6f 70 |king a s|econd op|
|00003f20| 69 6e 69 6f 6e 2c 0a 58 | 69 74 20 69 73 20 6d 75 |inion,.X|it is mu|
|00003f30| 63 68 20 68 61 72 64 65 | 72 20 74 6f 20 66 69 6e |ch harde|r to fin|
|00003f40| 64 20 6f 75 74 20 74 68 | 61 74 20 61 20 68 6f 73 |d out th|at a hos|
|00003f50| 74 20 63 6c 61 69 6d 73 | 20 74 6f 20 68 61 76 65 |t claims| to have|
|00003f60| 20 73 6f 6d 65 6f 6e 65 | 20 65 6c 73 65 73 0a 58 | someone| elses.X|
|00003f70| 6e 65 74 77 6f 72 6b 20 | 61 64 64 72 65 73 73 2e |network |address.|
|00003f80| 20 41 6e 64 20 73 69 6e | 63 65 20 68 6f 73 74 20 | And sin|ce host |
|00003f90| 6e 61 6d 65 73 20 61 72 | 65 20 64 65 64 75 63 65 |names ar|e deduce|
|00003fa0| 64 20 66 72 6f 6d 20 6e | 65 74 77 6f 72 6b 0a 58 |d from n|etwork.X|
|00003fb0| 61 64 64 72 65 73 73 65 | 73 2c 20 61 64 64 72 65 |addresse|s, addre|
|00003fc0| 73 73 20 73 70 6f 6f 66 | 69 6e 67 20 69 73 20 61 |ss spoof|ing is a|
|00003fd0| 74 20 6c 65 61 73 74 20 | 61 73 20 65 66 66 65 63 |t least |as effec|
|00003fe0| 74 69 76 65 20 61 73 20 | 6e 61 6d 65 20 73 70 6f |tive as |name spo|
|00003ff0| 6f 66 69 6e 67 2e 0a 58 | 0a 58 54 68 65 20 77 72 |ofing..X|.XThe wr|
|00004000| 61 70 70 65 72 20 70 72 | 6f 67 72 61 6d 73 20 63 |apper pr|ograms c|
|00004010| 61 6e 20 67 69 76 65 20 | 61 64 64 69 74 69 6f 6e |an give |addition|
|00004020| 61 6c 20 70 72 6f 74 65 | 63 74 69 6f 6e 20 61 67 |al prote|ction ag|
|00004030| 61 69 6e 73 74 20 68 6f | 73 74 73 20 74 68 61 74 |ainst ho|sts that|
|00004040| 0a 58 63 6c 61 69 6d 20 | 74 6f 20 68 61 76 65 20 |.Xclaim |to have |
|00004050| 61 6e 20 61 64 64 72 65 | 73 73 20 74 68 61 74 20 |an addre|ss that |
|00004060| 6c 69 65 73 20 6f 75 74 | 73 69 64 65 20 74 68 65 |lies out|side the|
|00004070| 69 72 20 6f 77 6e 20 6e | 65 74 77 6f 72 6b 2e 20 |ir own n|etwork. |
|00004080| 20 46 6f 72 0a 58 65 78 | 61 6d 70 6c 65 2c 20 73 | For.Xex|ample, s|
|00004090| 6f 6d 65 20 66 61 72 2d | 61 77 61 79 20 68 6f 73 |ome far-|away hos|
|000040a0| 74 20 74 68 61 74 20 63 | 6c 61 69 6d 73 20 74 6f |t that c|laims to|
|000040b0| 20 62 65 20 61 20 74 72 | 75 73 74 65 64 20 68 6f | be a tr|usted ho|
|000040c0| 73 74 20 77 69 74 68 69 | 6e 0a 58 79 6f 75 72 20 |st withi|n.Xyour |
|000040d0| 6f 77 6e 20 6e 65 74 77 | 6f 72 6b 2e 20 53 75 63 |own netw|ork. Suc|
|000040e0| 68 20 74 68 69 6e 67 73 | 20 61 72 65 20 70 6f 73 |h things| are pos|
|000040f0| 73 69 62 6c 65 20 65 76 | 65 6e 20 77 68 69 6c 65 |sible ev|en while|
|00004100| 20 74 68 65 20 69 6d 70 | 65 72 73 6f 6e 61 74 65 | the imp|ersonate|
|00004110| 64 0a 58 73 79 73 74 65 | 6d 20 69 73 20 75 70 20 |d.Xsyste|m is up |
|00004120| 61 6e 64 20 72 75 6e 6e | 69 6e 67 2e 0a 58 0a 58 |and runn|ing..X.X|
|00004130| 54 68 69 73 20 61 64 64 | 69 74 69 6f 6e 61 6c 20 |This add|itional |
|00004140| 70 72 6f 74 65 63 74 69 | 6f 6e 20 69 73 20 6e 6f |protecti|on is no|
|00004150| 74 20 61 6e 20 69 6e 76 | 65 6e 74 69 6f 6e 20 6f |t an inv|ention o|
|00004160| 66 20 6d 79 20 6f 77 6e | 3b 20 69 74 20 68 61 73 |f my own|; it has|
|00004170| 20 62 65 65 6e 0a 58 70 | 72 65 73 65 6e 74 20 66 | been.Xp|resent f|
|00004180| 6f 72 20 61 74 20 6c 65 | 61 73 74 20 66 69 76 65 |or at le|ast five|
|00004190| 20 79 65 61 72 73 20 69 | 6e 20 74 68 65 20 42 53 | years i|n the BS|
|000041a0| 44 20 72 73 68 20 61 6e | 64 20 72 6c 6f 67 69 6e |D rsh an|d rlogin|
|000041b0| 20 64 61 65 6d 6f 6e 73 | 2e 0a 58 55 6e 66 6f 72 | daemons|..XUnfor|
|000041c0| 74 75 6e 61 74 65 6c 79 | 2c 20 74 68 61 74 20 66 |tunately|, that f|
|000041d0| 65 61 74 75 72 65 20 77 | 61 73 20 61 64 64 65 64 |eature w|as added|
|000041e0| 20 2a 61 66 74 65 72 2a | 20 34 2e 33 20 42 53 44 | *after*| 4.3 BSD|
|000041f0| 20 63 61 6d 65 20 6f 75 | 74 2c 20 73 6f 20 74 68 | came ou|t, so th|
|00004200| 61 74 0a 58 76 65 72 79 | 20 66 65 77 2c 20 69 66 |at.Xvery| few, if|
|00004210| 20 61 6e 79 2c 20 55 4e | 49 58 20 76 65 6e 64 6f | any, UN|IX vendo|
|00004220| 72 73 20 68 61 76 65 20 | 61 64 6f 70 74 65 64 20 |rs have |adopted |
|00004230| 69 74 2e 20 20 4f 75 72 | 20 73 69 74 65 2c 20 61 |it. Our| site, a|
|00004240| 6e 64 20 6d 61 6e 79 0a | 58 6f 74 68 65 72 20 6f |nd many.|Xother o|
|00004250| 6e 65 73 2c 20 68 61 73 | 20 62 65 65 6e 20 72 75 |nes, has| been ru|
|00004260| 6e 6e 69 6e 67 20 74 68 | 65 73 65 20 65 6e 68 61 |nning th|ese enha|
|00004270| 6e 63 65 64 20 64 61 65 | 6d 6f 6e 73 20 66 6f 72 |nced dae|mons for|
|00004280| 20 73 65 76 65 72 61 6c | 20 79 65 61 72 73 2c 0a | several| years,.|
|00004290| 58 61 6e 64 20 77 69 74 | 68 6f 75 74 20 61 6e 79 |Xand wit|hout any|
|000042a0| 20 69 6c 6c 20 65 66 66 | 65 63 74 73 2e 0a 58 0a | ill eff|ects..X.|
|000042b0| 58 57 68 65 6e 20 74 68 | 65 20 70 72 6f 67 72 61 |XWhen th|e progra|
|000042c0| 6d 73 20 61 72 65 20 63 | 6f 6d 70 69 6c 65 64 20 |ms are c|ompiled |
|000042d0| 77 69 74 68 20 2d 44 4b | 49 4c 4c 5f 49 50 5f 4f |with -DK|ILL_IP_O|
|000042e0| 50 54 49 4f 4e 53 2c 20 | 73 6f 75 72 63 65 20 72 |PTIONS, |source r|
|000042f0| 6f 75 74 69 6e 67 0a 58 | 77 69 6c 6c 20 62 65 20 |outing.X|will be |
|00004300| 64 69 73 61 62 6c 65 64 | 20 66 6f 72 20 61 6c 6c |disabled| for all|
|00004310| 20 54 43 50 20 63 6f 6e | 6e 65 63 74 69 6f 6e 73 | TCP con|nections|
|00004320| 20 74 68 61 74 20 61 72 | 65 20 68 61 6e 64 6c 65 | that ar|e handle|
|00004330| 64 20 62 79 20 74 68 65 | 0a 58 77 72 61 70 70 65 |d by the|.Xwrappe|
|00004340| 72 20 70 72 6f 67 72 61 | 6d 73 2e 0a 58 0a 58 41 |r progra|ms..X.XA|
|00004350| 6c 6c 20 74 68 69 73 20 | 63 61 6e 6e 6f 74 20 62 |ll this |cannot b|
|00004360| 65 20 75 73 65 64 20 77 | 69 74 68 20 53 75 6e 4f |e used w|ith SunO|
|00004370| 53 20 34 2e 78 20 62 65 | 63 61 75 73 65 20 6f 66 |S 4.x be|cause of|
|00004380| 20 61 20 6b 65 72 6e 65 | 6c 20 62 75 67 20 69 6e | a kerne|l bug in|
|00004390| 20 74 68 65 0a 58 69 6d | 70 6c 65 6d 65 6e 74 61 | the.Xim|plementa|
|000043a0| 74 69 6f 6e 20 6f 66 20 | 74 68 65 20 67 65 74 73 |tion of |the gets|
|000043b0| 6f 63 6b 6f 70 74 28 29 | 20 73 79 73 74 65 6d 20 |ockopt()| system |
|000043c0| 63 61 6c 6c 2e 20 4b 65 | 72 6e 65 6c 20 70 61 6e |call. Ke|rnel pan|
|000043d0| 69 63 73 20 68 61 76 65 | 20 62 65 65 6e 0a 58 72 |ics have| been.Xr|
|000043e0| 65 70 6f 72 74 65 64 20 | 66 6f 72 20 53 75 6e 4f |eported |for SunO|
|000043f0| 53 20 34 2e 31 2e 31 20 | 61 6e 64 20 53 75 6e 4f |S 4.1.1 |and SunO|
|00004400| 53 20 34 2e 31 2e 32 2e | 20 54 68 65 20 73 79 6d |S 4.1.2.| The sym|
|00004410| 70 74 6f 6d 73 20 61 72 | 65 20 22 42 41 44 20 54 |ptoms ar|e "BAD T|
|00004420| 52 41 50 22 0a 58 61 6e | 64 20 22 44 61 74 61 20 |RAP".Xan|d "Data |
|00004430| 66 61 75 6c 74 22 20 77 | 68 69 6c 65 20 65 78 65 |fault" w|hile exe|
|00004440| 63 75 74 69 6e 67 20 74 | 68 65 20 74 63 70 5f 63 |cuting t|he tcp_c|
|00004450| 74 6c 6f 75 74 70 75 74 | 28 29 20 6b 65 72 6e 65 |tloutput|() kerne|
|00004460| 6c 20 66 75 6e 63 74 69 | 6f 6e 2e 0a 58 0a 58 54 |l functi|on..X.XT|
|00004470| 68 65 20 66 65 61 74 75 | 72 65 20 69 73 20 64 69 |he featu|re is di|
|00004480| 73 61 62 6c 65 64 20 62 | 79 20 64 65 66 61 75 6c |sabled b|y defaul|
|00004490| 74 2e 20 49 74 20 63 61 | 6e 20 62 65 20 74 75 72 |t. It ca|n be tur|
|000044a0| 6e 65 64 20 6f 6e 20 62 | 79 20 65 64 69 74 69 6e |ned on b|y editin|
|000044b0| 67 20 74 68 65 0a 58 4d | 61 6b 65 66 69 6c 65 2e |g the.XM|akefile.|
|000044c0| 20 20 54 68 65 20 63 6f | 6e 66 69 67 75 72 61 74 | The co|nfigurat|
|000044d0| 69 6f 6e 20 61 6e 64 20 | 69 6e 73 74 61 6c 6c 61 |ion and |installa|
|000044e0| 74 69 6f 6e 20 73 65 63 | 74 69 6f 6e 20 62 65 6c |tion sec|tion bel|
|000044f0| 6f 77 20 64 65 73 63 72 | 69 62 65 73 0a 58 74 68 |ow descr|ibes.Xth|
|00004500| 65 20 4d 61 6b 65 66 69 | 6c 65 20 65 64 69 74 69 |e Makefi|le editi|
|00004510| 6e 67 20 70 72 6f 63 65 | 73 73 2e 0a 58 0a 58 55 |ng proce|ss..X.XU|
|00004520| 44 50 20 73 65 72 76 69 | 63 65 73 20 64 6f 20 6e |DP servi|ces do n|
|00004530| 6f 74 20 62 65 6e 65 66 | 69 74 20 66 72 6f 6d 20 |ot benef|it from |
|00004540| 74 68 69 73 20 61 64 64 | 69 74 69 6f 6e 61 6c 20 |this add|itional |
|00004550| 70 72 6f 74 65 63 74 69 | 6f 6e 2e 20 57 69 74 68 |protecti|on. With|
|00004560| 20 55 44 50 2c 0a 58 61 | 6c 6c 20 79 6f 75 20 63 | UDP,.Xa|ll you c|
|00004570| 61 6e 20 62 65 20 63 65 | 72 74 61 69 6e 20 6f 66 |an be ce|rtain of|
|00004580| 20 69 73 20 74 68 65 20 | 6e 65 74 77 6f 72 6b 20 | is the |network |
|00004590| 70 61 63 6b 65 74 27 73 | 20 64 65 73 74 69 6e 61 |packet's| destina|
|000045a0| 74 69 6f 6e 20 61 64 64 | 72 65 73 73 2e 0a 58 0a |tion add|ress..X.|
|000045b0| 58 34 2e 34 20 2d 20 52 | 65 6d 6f 74 65 20 75 73 |X4.4 - R|emote us|
|000045c0| 65 72 6e 61 6d 65 20 6c | 6f 6f 6b 75 70 73 0a 58 |ername l|ookups.X|
|000045d0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000045e0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 0a 58 0a |--------|-----.X.|
|000045f0| 58 54 68 65 20 70 72 6f | 74 6f 63 6f 6c 20 70 72 |XThe pro|tocol pr|
|00004600| 6f 70 6f 73 65 64 20 69 | 6e 20 52 46 43 20 39 33 |oposed i|n RFC 93|
|00004610| 31 20 70 72 6f 76 69 64 | 65 73 20 61 20 6d 65 61 |1 provid|es a mea|
|00004620| 6e 73 20 74 6f 20 67 65 | 74 20 74 68 65 20 72 65 |ns to ge|t the re|
|00004630| 6d 6f 74 65 0a 58 75 73 | 65 72 20 6e 61 6d 65 20 |mote.Xus|er name |
|00004640| 66 72 6f 6d 20 74 68 65 | 20 63 6c 69 65 6e 74 20 |from the| client |
|00004650| 68 6f 73 74 2e 20 20 54 | 68 65 20 72 65 71 75 69 |host. T|he requi|
|00004660| 72 65 6d 65 6e 74 20 69 | 73 20 74 68 61 74 20 74 |rement i|s that t|
|00004670| 68 65 20 63 6c 69 65 6e | 74 0a 58 68 6f 73 74 20 |he clien|t.Xhost |
|00004680| 72 75 6e 73 20 61 6e 20 | 52 46 43 20 39 33 31 2d |runs an |RFC 931-|
|00004690| 63 6f 6d 70 6c 69 61 6e | 74 20 64 61 65 6d 6f 6e |complian|t daemon|
|000046a0| 2e 20 54 68 65 20 69 6e | 66 6f 72 6d 61 74 69 6f |. The in|formatio|
|000046b0| 6e 20 70 72 6f 76 69 64 | 65 64 20 62 79 20 73 75 |n provid|ed by su|
|000046c0| 63 68 0a 58 61 20 64 61 | 65 6d 6f 6e 20 69 73 20 |ch.Xa da|emon is |
|000046d0| 6e 6f 74 20 69 6e 74 65 | 6e 64 65 64 20 74 6f 20 |not inte|nded to |
|000046e0| 62 65 20 75 73 65 64 20 | 66 6f 72 20 61 75 74 68 |be used |for auth|
|000046f0| 65 6e 74 69 63 61 74 69 | 6f 6e 20 70 75 72 70 6f |enticati|on purpo|
|00004700| 73 65 73 2c 20 62 75 74 | 20 69 74 0a 58 63 61 6e |ses, but| it.Xcan|
|00004710| 20 70 72 6f 76 69 64 65 | 20 61 64 64 69 74 69 6f | provide| additio|
|00004720| 6e 61 6c 20 69 6e 66 6f | 72 6d 61 74 69 6f 6e 20 |nal info|rmation |
|00004730| 61 62 6f 75 74 20 74 68 | 65 20 6f 77 6e 65 72 20 |about th|e owner |
|00004740| 6f 66 20 61 20 54 43 50 | 20 63 6f 6e 6e 65 63 74 |of a TCP| connect|
|00004750| 69 6f 6e 2e 0a 58 0a 58 | 52 65 6d 6f 74 65 20 75 |ion..X.X|Remote u|
|00004760| 73 65 72 20 6e 61 6d 65 | 20 6c 6f 6f 6b 75 70 73 |ser name| lookups|
|00004770| 20 61 72 65 20 65 6e 61 | 62 6c 65 64 20 77 68 65 | are ena|bled whe|
|00004780| 6e 20 74 68 65 20 77 72 | 61 70 70 65 72 73 20 61 |n the wr|appers a|
|00004790| 72 65 20 63 6f 6d 70 69 | 6c 65 64 0a 58 77 69 74 |re compi|led.Xwit|
|000047a0| 68 20 2d 44 52 46 43 39 | 33 31 2e 20 20 54 68 65 |h -DRFC9|31. The|
|000047b0| 72 65 20 61 72 65 20 73 | 6f 6d 65 20 6c 69 6d 69 |re are s|ome limi|
|000047c0| 74 61 74 69 6f 6e 73 3a | 20 74 68 65 20 6e 75 6d |tations:| the num|
|000047d0| 62 65 72 20 6f 66 20 68 | 6f 73 74 73 20 74 68 61 |ber of h|osts tha|
|000047e0| 74 0a 58 72 75 6e 20 61 | 6e 20 52 46 43 20 39 33 |t.Xrun a|n RFC 93|
|000047f0| 31 20 28 6f 72 20 63 6f | 6d 70 61 74 69 62 6c 65 |1 (or co|mpatible|
|00004800| 29 20 64 61 65 6d 6f 6e | 20 69 73 20 73 6d 61 6c |) daemon| is smal|
|00004810| 6c 20 28 62 75 74 20 67 | 72 6f 77 69 6e 67 29 3b |l (but g|rowing);|
|00004820| 20 72 65 6d 6f 74 65 0a | 58 75 73 65 72 20 6e 61 | remote.|Xuser na|
|00004830| 6d 65 20 6c 6f 6f 6b 75 | 70 73 20 64 6f 20 6e 6f |me looku|ps do no|
|00004840| 74 20 77 6f 72 6b 20 66 | 6f 72 20 64 61 74 61 67 |t work f|or datag|
|00004850| 72 61 6d 20 28 55 44 50 | 29 20 63 6f 6e 6e 65 63 |ram (UDP|) connec|
|00004860| 74 69 6f 6e 73 2e 20 4d | 6f 72 65 0a 58 73 65 72 |tions. M|ore.Xser|
|00004870| 69 6f 75 73 6c 79 2c 20 | 72 65 6d 6f 74 65 20 75 |iously, |remote u|
|00004880| 73 65 72 20 6e 61 6d 65 | 20 6c 6f 6f 6b 75 70 73 |ser name| lookups|
|00004890| 20 63 61 6e 20 63 61 75 | 73 65 20 6e 6f 74 69 63 | can cau|se notic|
|000048a0| 65 61 62 6c 65 20 64 65 | 6c 61 79 73 20 77 69 74 |eable de|lays wit|
|000048b0| 68 0a 58 63 6f 6e 6e 65 | 63 74 69 6f 6e 73 20 66 |h.Xconne|ctions f|
|000048c0| 72 6f 6d 20 6e 6f 6e 2d | 55 4e 49 58 20 50 43 73 |rom non-|UNIX PCs|
|000048d0| 2e 20 54 68 65 20 77 72 | 61 70 70 65 72 73 20 75 |. The wr|appers u|
|000048e0| 73 65 20 61 20 33 30 2d | 73 65 63 6f 6e 64 20 74 |se a 30-|second t|
|000048f0| 69 6d 65 6f 75 74 20 66 | 6f 72 0a 58 52 46 43 39 |imeout f|or.XRFC9|
|00004900| 33 31 20 6c 6f 6f 6b 75 | 70 73 2c 20 74 6f 20 61 |31 looku|ps, to a|
|00004910| 63 63 6f 6d 6d 6f 64 61 | 74 65 20 73 6c 6f 77 20 |ccommoda|te slow |
|00004920| 6e 65 74 77 6f 72 6b 73 | 20 61 6e 64 20 73 6c 6f |networks| and slo|
|00004930| 77 20 68 6f 73 74 73 2e | 20 0a 58 0a 58 42 79 20 |w hosts.| .X.XBy |
|00004940| 64 65 66 61 75 6c 74 2c | 20 72 65 6d 6f 74 65 20 |default,| remote |
|00004950| 75 73 65 72 6e 61 6d 65 | 20 6c 6f 6f 6b 75 70 73 |username| lookups|
|00004960| 20 61 72 65 20 6e 6f 74 | 20 65 6e 61 62 6c 65 64 | are not| enabled|
|00004970| 2e 20 59 6f 75 20 63 61 | 6e 20 65 6e 61 62 6c 65 |. You ca|n enable|
|00004980| 0a 58 74 68 65 6d 20 62 | 79 20 65 64 69 74 69 6e |.Xthem b|y editin|
|00004990| 67 20 74 68 65 20 4d 61 | 6b 65 66 69 6c 65 2e 20 |g the Ma|kefile. |
|000049a0| 54 68 65 20 72 65 6d 6f | 74 65 20 75 73 65 72 6e |The remo|te usern|
|000049b0| 61 6d 65 20 6c 6f 6f 6b | 75 70 20 74 69 6d 65 6f |ame look|up timeo|
|000049c0| 75 74 20 70 65 72 69 6f | 64 0a 58 28 33 30 20 73 |ut perio|d.X(30 s|
|000049d0| 65 63 6f 6e 64 73 20 64 | 65 66 61 75 6c 74 29 20 |econds d|efault) |
|000049e0| 63 61 6e 20 61 6c 73 6f | 20 62 65 20 63 68 61 6e |can also| be chan|
|000049f0| 67 65 64 20 62 79 20 65 | 64 69 74 69 6e 67 20 74 |ged by e|diting t|
|00004a00| 68 65 20 4d 61 6b 65 66 | 69 6c 65 2e 20 54 68 65 |he Makef|ile. The|
|00004a10| 0a 58 69 6e 73 74 61 6c | 6c 61 74 69 6f 6e 20 73 |.Xinstal|lation s|
|00004a20| 65 63 74 69 6f 6e 73 20 | 62 65 6c 6f 77 20 64 65 |ections |below de|
|00004a30| 73 63 72 69 62 65 20 74 | 68 65 20 4d 61 6b 65 66 |scribe t|he Makef|
|00004a40| 69 6c 65 20 65 64 69 74 | 69 6e 67 20 70 72 6f 63 |ile edit|ing proc|
|00004a50| 65 73 73 2e 0a 58 0a 58 | 54 68 65 20 52 46 43 20 |ess..X.X|The RFC |
|00004a60| 39 33 31 20 70 72 6f 74 | 6f 63 6f 6c 20 68 61 73 |931 prot|ocol has|
|00004a70| 20 64 69 76 65 72 67 65 | 64 20 69 6e 74 6f 20 64 | diverge|d into d|
|00004a80| 69 66 66 65 72 65 6e 74 | 20 64 69 72 65 63 74 69 |ifferent| directi|
|00004a90| 6f 6e 73 20 28 49 44 45 | 4e 54 20 61 6e 64 0a 58 |ons (IDE|NT and.X|
|00004aa0| 54 41 50 29 2e 20 54 6f | 20 61 64 64 20 74 6f 20 |TAP). To| add to |
|00004ab0| 74 68 65 20 63 6f 6e 66 | 75 73 69 6f 6e 2c 20 62 |the conf|usion, b|
|00004ac0| 6f 74 68 20 70 72 6f 74 | 6f 63 6f 6c 73 20 75 73 |oth prot|ocols us|
|00004ad0| 65 20 74 68 65 20 73 61 | 6d 65 20 6e 65 74 77 6f |e the sa|me netwo|
|00004ae0| 72 6b 0a 58 70 6f 72 74 | 2e 20 20 54 68 65 20 64 |rk.Xport|. The d|
|00004af0| 61 65 6d 6f 6e 20 77 72 | 61 70 70 65 72 73 20 69 |aemon wr|appers i|
|00004b00| 6d 70 6c 65 6d 65 6e 74 | 20 61 20 63 6f 6d 6d 6f |mplement| a commo|
|00004b10| 6e 20 73 75 62 73 65 74 | 20 6f 66 20 74 68 65 20 |n subset| of the |
|00004b20| 70 72 6f 74 6f 63 6f 6c | 73 2e 0a 58 0a 58 34 2e |protocol|s..X.X4.|
|00004b30| 35 20 2d 20 4c 61 6e 67 | 75 61 67 65 20 65 78 74 |5 - Lang|uage ext|
|00004b40| 65 6e 73 69 6f 6e 20 68 | 6f 6f 6b 73 0a 58 2d 2d |ension h|ooks.X--|
|00004b50| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00004b60| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 0a 58 0a 58 |--------|----.X.X|
|00004b70| 54 68 65 20 77 72 61 70 | 70 65 72 73 20 73 70 6f |The wrap|pers spo|
|00004b80| 72 74 20 6f 6e 6c 79 20 | 61 20 6c 69 6d 69 74 65 |rt only |a limite|
|00004b90| 64 20 6e 75 6d 62 65 72 | 20 6f 66 20 66 65 61 74 |d number| of feat|
|00004ba0| 75 72 65 73 2e 20 54 68 | 69 73 20 69 73 20 66 6f |ures. Th|is is fo|
|00004bb0| 72 20 61 0a 58 67 6f 6f | 64 20 72 65 61 73 6f 6e |r a.Xgoo|d reason|
|00004bc0| 3a 20 70 72 6f 67 72 61 | 6d 73 20 74 68 61 74 20 |: progra|ms that |
|00004bd0| 61 72 65 20 72 75 6e 20 | 61 74 20 68 69 67 68 20 |are run |at high |
|00004be0| 70 72 69 76 69 6c 65 67 | 65 20 6c 65 76 65 6c 73 |privileg|e levels|
|00004bf0| 20 6d 75 73 74 20 62 65 | 0a 58 65 61 73 79 20 74 | must be|.Xeasy t|
|00004c00| 6f 20 76 65 72 69 66 79 | 2e 0a 58 0a 58 48 6f 77 |o verify|..X.XHow|
|00004c10| 65 76 65 72 2c 20 73 6f | 6d 65 20 73 69 74 65 73 |ever, so|me sites|
|00004c20| 20 68 61 76 65 20 76 65 | 72 79 20 73 70 65 63 69 | have ve|ry speci|
|00004c30| 66 69 63 20 6e 65 65 64 | 73 2e 20 20 54 68 65 20 |fic need|s. The |
|00004c40| 6f 70 74 69 6f 6e 73 2e | 63 20 66 69 6c 65 0a 58 |options.|c file.X|
|00004c50| 70 72 6f 76 69 64 65 73 | 20 61 20 66 72 61 6d 65 |provides| a frame|
|00004c60| 77 6f 72 6b 20 66 6f 72 | 20 61 64 64 69 6e 67 20 |work for| adding |
|00004c70| 65 78 74 65 6e 73 69 6f | 6e 73 20 74 6f 20 74 68 |extensio|ns to th|
|00004c80| 65 20 61 63 63 65 73 73 | 20 63 6f 6e 74 72 6f 6c |e access| control|
|00004c90| 0a 58 6c 61 6e 67 75 61 | 67 65 2e 20 49 74 20 63 |.Xlangua|ge. It c|
|00004ca0| 6f 6d 65 73 20 77 69 74 | 68 20 73 61 6d 70 6c 65 |omes wit|h sample|
|00004cb0| 20 65 78 74 65 6e 73 69 | 6f 6e 73 20 74 68 61 74 | extensi|ons that|
|00004cc0| 3a 20 20 28 31 29 20 73 | 77 69 74 63 68 20 74 6f |: (1) s|witch to|
|00004cd0| 20 61 6e 6f 74 68 65 72 | 0a 58 75 73 65 72 20 6f | another|.Xuser o|
|00004ce0| 72 20 67 72 6f 75 70 20 | 69 64 3b 20 28 32 29 20 |r group |id; (2) |
|00004cf0| 70 65 72 66 6f 72 6d 20 | 72 65 6d 6f 74 65 20 75 |perform |remote u|
|00004d00| 73 65 72 20 6e 61 6d 65 | 20 6c 6f 6f 6b 75 70 73 |ser name| lookups|
|00004d10| 3b 20 28 33 29 20 72 75 | 6e 20 61 6e 0a 58 61 6c |; (3) ru|n an.Xal|
|00004d20| 74 65 72 6e 61 74 65 20 | 73 65 72 76 65 72 20 70 |ternate |server p|
|00004d30| 72 6f 67 72 61 6d 20 28 | 74 68 69 73 20 61 6c 6c |rogram (|this all|
|00004d40| 6f 77 73 20 79 6f 75 20 | 74 6f 20 70 72 6f 64 75 |ows you |to produ|
|00004d50| 63 65 20 63 75 73 74 6f | 6d 69 7a 65 64 20 62 6f |ce custo|mized bo|
|00004d60| 75 6e 63 65 0a 58 6d 65 | 73 73 61 67 65 73 20 6f |unce.Xme|ssages o|
|00004d70| 72 20 74 6f 20 64 6f 20 | 72 65 61 6c 6c 79 20 6e |r to do |really n|
|00004d80| 61 73 74 79 20 73 74 75 | 66 66 29 3b 20 28 34 29 |asty stu|ff); (4)|
|00004d90| 20 73 65 74 20 61 72 62 | 69 74 72 61 72 79 20 65 | set arb|itrary e|
|00004da0| 6e 76 69 72 6f 6e 6d 65 | 6e 74 0a 58 76 61 72 69 |nvironme|nt.Xvari|
|00004db0| 61 62 6c 65 73 3b 20 28 | 35 29 20 63 68 61 6e 67 |ables; (|5) chang|
|00004dc0| 65 20 74 68 65 20 64 65 | 66 61 75 6c 74 20 66 69 |e the de|fault fi|
|00004dd0| 6c 65 20 70 72 6f 74 65 | 63 74 69 6f 6e 20 6d 61 |le prote|ction ma|
|00004de0| 73 6b 2e 0a 58 0a 58 54 | 68 65 20 6c 61 6e 67 75 |sk..X.XT|he langu|
|00004df0| 61 67 65 20 65 78 74 65 | 6e 73 69 6f 6e 20 68 6f |age exte|nsion ho|
|00004e00| 6f 6b 20 69 73 20 6e 6f | 74 20 65 6e 61 62 6c 65 |ok is no|t enable|
|00004e10| 64 20 62 79 20 64 65 66 | 61 75 6c 74 20 62 65 63 |d by def|ault bec|
|00004e20| 61 75 73 65 20 69 74 0a | 58 69 6e 74 72 6f 64 75 |ause it.|Xintrodu|
|00004e30| 63 65 73 20 61 6e 20 69 | 6e 63 6f 6d 70 61 74 69 |ces an i|ncompati|
|00004e40| 62 6c 65 20 63 68 61 6e | 67 65 20 74 6f 20 74 68 |ble chan|ge to th|
|00004e50| 65 20 61 63 63 65 73 73 | 20 63 6f 6e 74 72 6f 6c |e access| control|
|00004e60| 20 6c 61 6e 67 75 61 67 | 65 0a 58 73 79 6e 74 61 | languag|e.Xsynta|
|00004e70| 78 2e 20 49 6e 73 74 72 | 75 63 74 69 6f 6e 73 20 |x. Instr|uctions |
|00004e80| 74 6f 20 65 6e 61 62 6c | 65 20 74 68 65 20 65 78 |to enabl|e the ex|
|00004e90| 74 65 6e 73 69 6f 6e 73 | 20 61 72 65 20 67 69 76 |tensions| are giv|
|00004ea0| 65 6e 20 69 6e 20 74 68 | 65 0a 58 4d 61 6b 65 66 |en in th|e.XMakef|
|00004eb0| 69 6c 65 2e 0a 58 0a 58 | 35 20 2d 20 4f 74 68 65 |ile..X.X|5 - Othe|
|00004ec0| 72 20 77 6f 72 6b 73 0a | 58 2d 2d 2d 2d 2d 2d 2d |r works.|X-------|
|00004ed0| 2d 2d 2d 2d 2d 2d 2d 2d | 0a 58 0a 58 35 2e 31 20 |--------|.X.X5.1 |
|00004ee0| 2d 20 52 65 6c 61 74 65 | 64 20 64 6f 63 75 6d 65 |- Relate|d docume|
|00004ef0| 6e 74 73 0a 58 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |nts.X---|--------|
|00004f00| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 0a 58 0a 58 |--------|----.X.X|
|00004f10| 54 68 65 20 77 61 72 20 | 73 74 6f 72 79 20 62 65 |The war |story be|
|00004f20| 68 69 6e 64 20 74 68 65 | 20 77 72 61 70 70 65 72 |hind the| wrapper|
|00004f30| 20 74 6f 6f 6c 73 20 69 | 73 20 64 65 73 63 72 69 | tools i|s descri|
|00004f40| 62 65 64 20 69 6e 3a 0a | 58 0a 58 20 20 20 20 57 |bed in:.|X.X W|
|00004f50| 2e 5a 2e 20 56 65 6e 65 | 6d 61 2c 20 22 54 43 50 |.Z. Vene|ma, "TCP|
|00004f60| 20 57 52 41 50 50 45 52 | 2c 20 6e 65 74 77 6f 72 | WRAPPER|, networ|
|00004f70| 6b 20 6d 6f 6e 69 74 6f | 72 69 6e 67 2c 20 61 63 |k monito|ring, ac|
|00004f80| 63 65 73 73 20 63 6f 6e | 74 72 6f 6c 20 61 6e 64 |cess con|trol and|
|00004f90| 0a 58 20 20 20 20 62 6f | 6f 62 79 20 74 72 61 70 |.X bo|oby trap|
|00004fa0| 73 22 2c 20 55 4e 49 58 | 20 53 65 63 75 72 69 74 |s", UNIX| Securit|
|00004fb0| 79 20 53 79 6d 70 6f 73 | 69 75 6d 20 49 49 49 20 |y Sympos|ium III |
|00004fc0| 50 72 6f 63 65 65 64 69 | 6e 67 73 20 28 42 61 6c |Proceedi|ngs (Bal|
|00004fd0| 74 69 6d 6f 72 65 29 2c | 0a 58 20 20 20 20 53 65 |timore),|.X Se|
|00004fe0| 70 74 65 6d 62 65 72 20 | 31 39 39 32 2e 20 0a 58 |ptember |1992. .X|
|00004ff0| 0a 58 20 20 20 20 66 74 | 70 2e 77 69 6e 2e 74 75 |.X ft|p.win.tu|
|00005000| 65 2e 6e 6c 3a 2f 70 75 | 62 2f 73 65 63 75 72 69 |e.nl:/pu|b/securi|
|00005010| 74 79 2f 74 63 70 5f 77 | 72 61 70 70 65 72 2e 70 |ty/tcp_w|rapper.p|
|00005020| 73 2e 5a 20 28 70 6f 73 | 74 73 63 72 69 70 74 29 |s.Z (pos|tscript)|
|00005030| 0a 58 20 20 20 20 66 74 | 70 2e 77 69 6e 2e 74 75 |.X ft|p.win.tu|
|00005040| 65 2e 6e 6c 3a 2f 70 75 | 62 2f 73 65 63 75 72 69 |e.nl:/pu|b/securi|
|00005050| 74 79 2f 74 63 70 5f 77 | 72 61 70 70 65 72 2e 74 |ty/tcp_w|rapper.t|
|00005060| 78 74 2e 5a 20 28 66 6c | 61 74 20 74 65 78 74 29 |xt.Z (fl|at text)|
|00005070| 0a 58 0a 58 54 68 65 20 | 73 61 6d 65 20 63 72 61 |.X.XThe |same cra|
|00005080| 63 6b 65 72 20 69 73 20 | 61 6c 73 6f 20 64 65 73 |cker is |also des|
|00005090| 63 72 69 62 65 64 20 69 | 6e 3a 0a 58 0a 58 20 20 |cribed i|n:.X.X |
|000050a0| 20 20 57 2e 52 2e 20 43 | 68 65 73 77 69 63 6b 2c | W.R. C|heswick,|
|000050b0| 20 22 41 6e 20 45 76 65 | 6e 69 6e 67 20 77 69 74 | "An Eve|ning wit|
|000050c0| 68 20 42 65 72 66 65 72 | 64 2c 20 49 6e 20 57 68 |h Berfer|d, In Wh|
|000050d0| 69 63 68 20 61 20 43 72 | 61 63 6b 65 72 20 69 73 |ich a Cr|acker is|
|000050e0| 0a 58 20 20 20 20 4c 75 | 72 65 64 2c 20 45 6e 64 |.X Lu|red, End|
|000050f0| 75 72 65 64 2c 20 61 6e | 64 20 53 74 75 64 69 65 |ured, an|d Studie|
|00005100| 64 22 2c 20 50 72 6f 63 | 65 65 64 69 6e 67 73 20 |d", Proc|eedings |
|00005110| 6f 66 20 74 68 65 20 57 | 69 6e 74 65 72 20 55 53 |of the W|inter US|
|00005120| 45 4e 49 58 0a 58 20 20 | 20 20 43 6f 6e 66 65 72 |ENIX.X | Confer|
|00005130| 65 6e 63 65 20 28 53 61 | 6e 20 46 72 61 6e 63 69 |ence (Sa|n Franci|
|00005140| 73 63 6f 29 2c 20 4a 61 | 6e 75 61 72 79 20 31 39 |sco), Ja|nuary 19|
|00005150| 39 32 2e 0a 58 0a 58 20 | 20 20 20 72 65 73 65 61 |92..X.X | resea|
|00005160| 72 63 68 2e 61 74 74 2e | 63 6f 6d 3a 2f 64 69 73 |rch.att.|com:/dis|
|00005170| 74 2f 69 6e 74 65 72 6e | 65 74 5f 73 65 63 75 72 |t/intern|et_secur|
|00005180| 69 74 79 2f 62 65 72 66 | 65 72 64 2e 70 73 0a 58 |ity/berf|erd.ps.X|
|00005190| 0a 58 35 2e 32 20 2d 20 | 52 65 6c 61 74 65 64 20 |.X5.2 - |Related |
|000051a0| 73 6f 66 74 77 61 72 65 | 0a 58 2d 2d 2d 2d 2d 2d |software|.X------|
|000051b0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000051c0| 0a 58 0a 58 4e 65 74 77 | 6f 72 6b 20 64 61 65 6d |.X.XNetw|ork daem|
|000051d0| 6f 6e 73 20 65 74 63 2e | 20 77 69 74 68 20 65 6e |ons etc.| with en|
|000051e0| 68 61 6e 63 65 64 20 6c | 6f 67 67 69 6e 67 20 63 |hanced l|ogging c|
|000051f0| 61 70 61 62 69 6c 69 74 | 69 65 73 20 63 61 6e 20 |apabilit|ies can |
|00005200| 67 65 6e 65 72 61 74 65 | 0a 58 6d 61 73 73 69 76 |generate|.Xmassiv|
|00005210| 65 20 61 6d 6f 75 6e 74 | 73 20 6f 66 20 69 6e 66 |e amount|s of inf|
|00005220| 6f 72 6d 61 74 69 6f 6e | 3a 20 6f 75 72 20 31 30 |ormation|: our 10|
|00005230| 30 2b 20 77 6f 72 6b 73 | 74 61 74 69 6f 6e 73 20 |0+ works|tations |
|00005240| 67 65 6e 65 72 61 74 65 | 20 73 65 76 65 72 61 6c |generate| several|
|00005250| 0a 58 68 75 6e 64 72 65 | 64 20 6b 62 79 74 65 73 |.Xhundre|d kbytes|
|00005260| 20 65 61 63 68 20 64 61 | 79 2e 20 65 67 72 65 70 | each da|y. egrep|
|00005270| 2d 62 61 73 65 64 20 66 | 69 6c 74 65 72 73 20 63 |-based f|ilters c|
|00005280| 61 6e 20 68 65 6c 70 20 | 74 6f 20 73 75 70 70 72 |an help |to suppr|
|00005290| 65 73 73 20 73 6f 6d 65 | 0a 58 6f 66 20 74 68 65 |ess some|.Xof the|
|000052a0| 20 6e 6f 69 73 65 2e 20 | 20 41 20 6d 6f 72 65 20 | noise. | A more |
|000052b0| 70 6f 77 65 72 66 75 6c | 20 74 6f 6f 6c 20 69 73 |powerful| tool is|
|000052c0| 20 74 68 65 20 53 77 61 | 74 63 68 20 6d 6f 6e 69 | the Swa|tch moni|
|000052d0| 74 6f 72 69 6e 67 20 73 | 79 73 74 65 6d 20 62 79 |toring s|ystem by|
|000052e0| 0a 58 53 74 65 70 68 65 | 6e 20 45 2e 20 48 61 6e |.XStephe|n E. Han|
|000052f0| 73 65 6e 20 61 6e 64 20 | 45 2e 20 54 6f 64 64 20 |sen and |E. Todd |
|00005300| 41 74 6b 69 6e 73 2e 20 | 53 77 61 74 63 68 20 63 |Atkins. |Swatch c|
|00005310| 61 6e 20 70 72 6f 63 65 | 73 73 20 6c 6f 67 20 66 |an proce|ss log f|
|00005320| 69 6c 65 73 20 69 6e 0a | 58 72 65 61 6c 20 74 69 |iles in.|Xreal ti|
|00005330| 6d 65 20 61 6e 64 20 63 | 61 6e 20 61 73 73 6f 63 |me and c|an assoc|
|00005340| 69 61 74 65 20 61 72 62 | 69 74 72 61 72 79 20 61 |iate arb|itrary a|
|00005350| 63 74 69 6f 6e 73 20 77 | 69 74 68 20 70 61 74 74 |ctions w|ith patt|
|00005360| 65 72 6e 73 3b 20 69 74 | 73 0a 58 61 70 70 6c 69 |erns; it|s.Xappli|
|00005370| 63 61 74 69 6f 6e 73 20 | 61 72 65 20 62 79 20 6e |cations |are by n|
|00005380| 6f 20 6d 65 61 6e 73 20 | 72 65 73 74 72 69 63 74 |o means |restrict|
|00005390| 65 64 20 74 6f 20 73 65 | 63 75 72 69 74 79 2e 20 |ed to se|curity. |
|000053a0| 20 53 77 61 74 63 68 20 | 69 73 0a 58 61 76 61 69 | Swatch |is.Xavai|
|000053b0| 6c 61 62 6c 65 20 66 72 | 6f 6d 20 73 69 65 72 72 |lable fr|om sierr|
|000053c0| 61 2e 73 74 61 6e 66 6f | 72 64 2e 65 64 75 2c 20 |a.stanfo|rd.edu, |
|000053d0| 64 69 72 65 63 74 6f 72 | 79 20 2f 70 75 62 2f 73 |director|y /pub/s|
|000053e0| 6f 75 72 63 65 73 2e 0a | 58 0a 58 53 6f 63 6b 73 |ources..|X.XSocks|
|000053f0| 2c 20 64 65 73 63 72 69 | 62 65 64 20 69 6e 20 74 |, descri|bed in t|
|00005400| 68 65 20 55 4e 49 58 20 | 53 65 63 75 72 69 74 79 |he UNIX |Security|
|00005410| 20 49 49 49 20 70 72 6f | 63 65 65 64 69 6e 67 73 | III pro|ceedings|
|00005420| 2c 20 63 61 6e 20 62 65 | 20 75 73 65 64 20 74 6f |, can be| used to|
|00005430| 0a 58 63 6f 6e 74 72 6f | 6c 20 6e 65 74 77 6f 72 |.Xcontro|l networ|
|00005440| 6b 20 74 72 61 66 66 69 | 63 20 66 72 6f 6d 20 68 |k traffi|c from h|
|00005450| 6f 73 74 73 20 6f 6e 20 | 61 6e 20 69 6e 74 65 72 |osts on |an inter|
|00005460| 6e 61 6c 20 6e 65 74 77 | 6f 72 6b 2c 20 74 68 72 |nal netw|ork, thr|
|00005470| 6f 75 67 68 20 61 0a 58 | 66 69 72 65 77 61 6c 6c |ough a.X|firewall|
|00005480| 20 68 6f 73 74 2c 20 74 | 6f 20 74 68 65 20 6f 75 | host, t|o the ou|
|00005490| 74 65 72 20 77 6f 72 6c | 64 2e 20 53 6f 63 6b 73 |ter worl|d. Socks|
|000054a0| 20 63 6f 6e 73 69 73 74 | 73 20 6f 66 20 61 20 64 | consist|s of a d|
|000054b0| 61 65 6d 6f 6e 20 74 68 | 61 74 20 69 73 0a 58 72 |aemon th|at is.Xr|
|000054c0| 75 6e 20 6f 6e 20 74 68 | 65 20 66 69 72 65 77 61 |un on th|e firewa|
|000054d0| 6c 6c 20 68 6f 73 74 2c | 20 61 6e 64 20 6f 66 20 |ll host,| and of |
|000054e0| 61 20 6c 69 62 72 61 72 | 79 20 77 69 74 68 20 72 |a librar|y with r|
|000054f0| 6f 75 74 69 6e 65 73 20 | 74 68 61 74 20 72 65 64 |outines |that red|
|00005500| 69 72 65 63 74 0a 58 61 | 70 70 6c 69 63 61 74 69 |irect.Xa|pplicati|
|00005510| 6f 6e 20 73 6f 63 6b 65 | 74 20 63 61 6c 6c 73 20 |on socke|t calls |
|00005520| 74 68 72 6f 75 67 68 20 | 74 68 65 20 66 69 72 65 |through |the fire|
|00005530| 77 61 6c 6c 20 64 61 65 | 6d 6f 6e 2e 20 20 53 6f |wall dae|mon. So|
|00005540| 63 6b 73 20 69 73 0a 58 | 61 76 61 69 6c 61 62 6c |cks is.X|availabl|
|00005550| 65 20 66 72 6f 6d 20 73 | 31 2e 67 6f 76 20 69 6e |e from s|1.gov in|
|00005560| 20 2f 70 75 62 2f 73 6f | 63 6b 73 2e 74 61 72 2e | /pub/so|cks.tar.|
|00005570| 5a 2e 0a 58 0a 58 56 65 | 72 73 69 6f 6e 73 20 6f |Z..X.XVe|rsions o|
|00005580| 66 20 72 73 68 64 20 61 | 6e 64 20 72 6c 6f 67 69 |f rshd a|nd rlogi|
|00005590| 6e 64 2c 20 6d 6f 64 69 | 66 69 65 64 20 74 6f 20 |nd, modi|fied to |
|000055a0| 72 65 70 6f 72 74 20 74 | 68 65 20 72 65 6d 6f 74 |report t|he remot|
|000055b0| 65 20 75 73 65 72 20 6e | 61 6d 65 0a 58 69 6e 20 |e user n|ame.Xin |
|000055c0| 61 64 64 69 74 69 6f 6e | 20 74 6f 20 74 68 65 20 |addition| to the |
|000055d0| 72 65 6d 6f 74 65 20 68 | 6f 73 74 20 6e 61 6d 65 |remote h|ost name|
|000055e0| 2c 20 61 72 65 20 61 76 | 61 69 6c 61 62 6c 65 20 |, are av|ailable |
|000055f0| 66 6f 72 20 61 6e 6f 6e | 79 6d 6f 75 73 20 66 74 |for anon|ymous ft|
|00005600| 70 0a 58 28 66 74 70 2e | 77 69 6e 2e 74 75 65 2e |p.X(ftp.|win.tue.|
|00005610| 6e 6c 3a 2f 70 75 62 2f | 73 65 63 75 72 69 74 79 |nl:/pub/|security|
|00005620| 2f 6c 6f 67 64 61 65 6d | 6f 6e 2d 32 2e 74 61 72 |/logdaem|on-2.tar|
|00005630| 2e 5a 29 2e 20 20 54 68 | 65 73 65 20 70 72 6f 67 |.Z). Th|ese prog|
|00005640| 72 61 6d 73 20 61 72 65 | 0a 58 64 72 6f 70 2d 69 |rams are|.Xdrop-i|
|00005650| 6e 20 72 65 70 6c 61 63 | 65 6d 65 6e 74 73 20 66 |n replac|ements f|
|00005660| 6f 72 20 53 75 6e 4f 53 | 20 34 2e 78 2c 20 55 6c |or SunOS| 4.x, Ul|
|00005670| 74 72 69 78 20 34 2e 78 | 2c 20 61 6e 64 20 53 75 |trix 4.x|, and Su|
|00005680| 6e 4f 53 20 35 2e 78 2e | 0a 58 0a 58 54 68 65 20 |nOS 5.x.|.X.XThe |
|00005690| 73 65 63 75 72 65 6c 69 | 62 20 73 68 61 72 65 64 |secureli|b shared|
|000056a0| 20 6c 69 62 72 61 72 79 | 20 62 79 20 57 69 6c 6c | library| by Will|
|000056b0| 69 61 6d 20 4c 65 46 65 | 62 76 72 65 20 63 61 6e |iam LeFe|bvre can|
|000056c0| 20 62 65 20 75 73 65 64 | 20 74 6f 20 63 6f 6e 74 | be used| to cont|
|000056d0| 72 6f 6c 0a 58 61 63 63 | 65 73 73 20 74 6f 20 6e |rol.Xacc|ess to n|
|000056e0| 65 74 77 6f 72 6b 20 64 | 61 65 6d 6f 6e 73 20 74 |etwork d|aemons t|
|000056f0| 68 61 74 20 61 72 65 20 | 6e 6f 74 20 72 75 6e 20 |hat are |not run |
|00005700| 75 6e 64 65 72 20 63 6f | 6e 74 72 6f 6c 20 6f 66 |under co|ntrol of|
|00005710| 20 74 68 65 20 69 6e 65 | 74 64 2c 0a 58 73 75 63 | the ine|td,.Xsuc|
|00005720| 68 20 61 73 20 74 68 65 | 20 52 50 43 20 64 61 65 |h as the| RPC dae|
|00005730| 6d 6f 6e 73 20 74 68 61 | 74 20 72 75 6e 20 75 6e |mons tha|t run un|
|00005740| 74 69 6c 20 74 68 65 20 | 6d 61 63 68 69 6e 65 20 |til the |machine |
|00005750| 67 6f 65 73 20 64 6f 77 | 6e 2e 0a 58 41 76 61 69 |goes dow|n..XAvai|
|00005760| 6c 61 62 6c 65 20 66 72 | 6f 6d 20 65 65 63 73 2e |lable fr|om eecs.|
|00005770| 6e 77 75 2e 65 64 75 2c | 20 66 69 6c 65 20 2f 70 |nwu.edu,| file /p|
|00005780| 75 62 2f 73 65 63 75 72 | 65 6c 69 62 2e 74 61 72 |ub/secur|elib.tar|
|00005790| 2e 0a 58 0a 58 57 68 65 | 72 65 20 73 68 61 72 65 |..X.XWhe|re share|
|000057a0| 64 20 6c 69 62 72 61 72 | 69 65 73 20 6f 72 20 72 |d librar|ies or r|
|000057b0| 6f 75 74 65 72 2d 62 61 | 73 65 64 20 70 61 63 6b |outer-ba|sed pack|
|000057c0| 65 74 20 66 69 6c 74 65 | 72 69 6e 67 20 61 72 65 |et filte|ring are|
|000057d0| 20 6e 6f 74 20 61 6e 0a | 58 6f 70 74 69 6f 6e 2c | not an.|Xoption,|
|000057e0| 20 61 6e 20 61 6c 74 65 | 72 6e 61 74 69 76 65 20 | an alte|rnative |
|000057f0| 70 6f 72 74 6d 61 70 20 | 64 61 65 6d 6f 6e 20 63 |portmap |daemon c|
|00005800| 61 6e 20 68 65 6c 70 20 | 74 6f 20 69 6d 70 72 6f |an help |to impro|
|00005810| 76 65 20 52 50 43 20 73 | 65 63 75 72 69 74 79 2c |ve RPC s|ecurity,|
|00005820| 0a 58 69 6e 20 70 61 72 | 74 69 63 75 6c 61 72 20 |.Xin par|ticular |
|00005830| 74 68 61 74 20 6f 66 20 | 4e 46 53 20 61 6e 64 20 |that of |NFS and |
|00005840| 6f 66 20 74 68 65 20 4e | 49 53 20 28 59 50 29 20 |of the N|IS (YP) |
|00005850| 69 6e 66 6f 72 6d 61 74 | 69 6f 6e 20 73 65 72 76 |informat|ion serv|
|00005860| 69 63 65 2e 0a 58 66 74 | 70 2e 77 69 6e 2e 74 75 |ice..Xft|p.win.tu|
|00005870| 65 2e 6e 6c 3a 2f 70 75 | 62 2f 73 65 63 75 72 69 |e.nl:/pu|b/securi|
|00005880| 74 79 2f 70 6f 72 74 6d | 61 70 2e 73 68 61 72 2e |ty/portm|ap.shar.|
|00005890| 5a 20 77 61 73 20 74 65 | 73 74 65 64 20 77 69 74 |Z was te|sted wit|
|000058a0| 68 20 53 75 6e 4f 53 20 | 34 2e 31 2e 31 0a 58 61 |h SunOS |4.1.1.Xa|
|000058b0| 6e 64 20 34 2e 31 2e 32 | 2c 20 55 6c 74 72 69 78 |nd 4.1.2|, Ultrix|
|000058c0| 20 33 2e 30 20 61 6e 64 | 20 55 6c 74 72 69 78 20 | 3.0 and| Ultrix |
|000058d0| 34 2e 78 2c 20 48 50 2d | 55 58 20 38 2e 78 20 61 |4.x, HP-|UX 8.x a|
|000058e0| 6e 64 20 41 49 58 2e 20 | 54 68 65 20 70 72 6f 74 |nd AIX. |The prot|
|000058f0| 65 63 74 69 6f 6e 0a 58 | 69 73 20 6c 65 73 73 20 |ection.X|is less |
|00005900| 65 66 66 65 63 74 69 76 | 65 20 74 68 61 6e 20 74 |effectiv|e than t|
|00005910| 68 61 74 20 6f 66 20 74 | 68 65 20 73 65 63 75 72 |hat of t|he secur|
|00005920| 65 6c 69 62 20 6c 69 62 | 72 61 72 79 20 62 65 63 |elib lib|rary bec|
|00005930| 61 75 73 65 20 70 6f 72 | 74 6d 61 70 20 69 73 0a |ause por|tmap is.|
|00005940| 58 6d 6f 73 74 6c 79 20 | 61 20 64 69 63 74 69 6f |Xmostly |a dictio|
|00005950| 6e 61 72 79 20 73 65 72 | 76 69 63 65 2e 20 20 53 |nary ser|vice. S|
|00005960| 75 6e 4f 53 20 34 2e 78 | 20 75 73 65 72 73 20 73 |unOS 4.x| users s|
|00005970| 68 6f 75 6c 64 20 69 6e | 73 74 61 6c 6c 20 74 68 |hould in|stall th|
|00005980| 65 20 6c 61 74 65 73 74 | 0a 58 72 65 76 69 73 69 |e latest|.Xrevisi|
|00005990| 6f 6e 20 6f 66 20 74 68 | 65 20 70 6f 72 74 6d 61 |on of th|e portma|
|000059a0| 70 20 61 6e 64 20 4e 49 | 53 20 64 61 65 6d 6f 6e |p and NI|S daemon|
|000059b0| 73 20 69 6e 73 74 65 61 | 64 2c 20 6f 72 20 61 64 |s instea|d, or ad|
|000059c0| 6f 70 74 20 4e 49 53 2b | 20 77 68 69 63 68 0a 58 |opt NIS+| which.X|
|000059d0| 68 61 73 20 61 63 63 65 | 73 73 20 63 6f 6e 74 72 |has acce|ss contr|
|000059e0| 6f 6c 20 62 75 69 6c 74 | 20 69 6e 2e 0a 58 0a 58 |ol built| in..X.X|
|000059f0| 53 6f 75 72 63 65 20 66 | 6f 72 20 61 20 70 6f 72 |Source f|or a por|
|00005a00| 74 61 62 6c 65 20 52 46 | 43 20 39 33 31 20 28 54 |table RF|C 931 (T|
|00005a10| 41 50 2c 20 49 44 45 4e | 54 29 2d 63 6f 6d 70 61 |AP, IDEN|T)-compa|
|00005a20| 74 69 62 6c 65 20 64 61 | 65 6d 6f 6e 20 62 79 20 |tible da|emon by |
|00005a30| 50 65 74 65 72 0a 58 45 | 72 69 6b 73 73 6f 6e 20 |Peter.XE|riksson |
|00005a40| 69 73 20 61 76 61 69 6c | 61 62 6c 65 20 66 72 6f |is avail|able fro|
|00005a50| 6d 20 66 74 70 2e 6c 79 | 73 61 74 6f 72 2e 6c 69 |m ftp.ly|sator.li|
|00005a60| 75 2e 73 65 3a 2f 70 75 | 62 2f 69 64 65 6e 74 2f |u.se:/pu|b/ident/|
|00005a70| 73 65 72 76 65 72 73 2e | 0a 58 0a 58 53 6f 6d 65 |servers.|.X.XSome|
|00005a80| 20 54 43 50 2f 49 50 20 | 69 6d 70 6c 65 6d 65 6e | TCP/IP |implemen|
|00005a90| 74 61 74 69 6f 6e 73 20 | 63 6f 6d 65 20 77 69 74 |tations |come wit|
|00005aa0| 68 6f 75 74 20 73 79 73 | 6c 6f 67 20 6c 69 62 72 |hout sys|log libr|
|00005ab0| 61 72 79 2e 20 53 6f 6d | 65 20 63 6f 6d 65 20 77 |ary. Som|e come w|
|00005ac0| 69 74 68 0a 58 74 68 65 | 20 6c 69 62 72 61 72 79 |ith.Xthe| library|
|00005ad0| 20 62 75 74 20 68 61 76 | 65 20 6e 6f 20 73 79 73 | but hav|e no sys|
|00005ae0| 6c 6f 67 20 64 61 65 6d | 6f 6e 2e 20 41 20 72 65 |log daem|on. A re|
|00005af0| 70 6c 61 63 65 6d 65 6e | 74 20 63 61 6e 20 62 65 |placemen|t can be|
|00005b00| 20 66 6f 75 6e 64 20 69 | 6e 0a 58 66 74 70 2e 77 | found i|n.Xftp.w|
|00005b10| 69 6e 2e 74 75 65 2e 6e | 6c 3a 2f 70 75 62 2f 73 |in.tue.n|l:/pub/s|
|00005b20| 65 63 75 72 69 74 79 2f | 73 75 72 72 6f 67 61 74 |ecurity/|surrogat|
|00005b30| 65 2d 73 79 73 6c 6f 67 | 2e 74 61 72 2e 5a 2e 20 |e-syslog|.tar.Z. |
|00005b40| 20 54 68 65 20 66 61 6b | 65 73 79 73 6c 6f 67 0a | The fak|esyslog.|
|00005b50| 58 6c 69 62 72 61 72 79 | 20 74 68 61 74 20 63 6f |Xlibrary| that co|
|00005b60| 6d 65 73 20 77 69 74 68 | 20 74 68 65 20 6e 6e 74 |mes with| the nnt|
|00005b70| 70 20 73 6f 75 72 63 65 | 73 20 72 65 70 6f 72 74 |p source|s report|
|00005b80| 65 64 6c 79 20 77 6f 72 | 6b 73 20 77 65 6c 6c 2c |edly wor|ks well,|
|00005b90| 20 74 6f 6f 2e 0a 58 0a | 58 36 20 2d 20 4c 69 6d | too..X.|X6 - Lim|
|00005ba0| 69 74 61 74 69 6f 6e 73 | 0a 58 2d 2d 2d 2d 2d 2d |itations|.X------|
|00005bb0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 0a 58 0a 58 36 2e 31 |--------|-.X.X6.1|
|00005bc0| 20 2d 20 4b 6e 6f 77 6e | 20 77 72 61 70 70 65 72 | - Known| wrapper|
|00005bd0| 20 6c 69 6d 69 74 61 74 | 69 6f 6e 73 0a 58 2d 2d | limitat|ions.X--|
|00005be0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00005bf0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 0a 58 0a |--------|-----.X.|
|00005c00| 58 53 6f 6d 65 20 55 44 | 50 20 28 61 6e 64 20 52 |XSome UD|P (and R|
|00005c10| 50 43 29 20 64 61 65 6d | 6f 6e 73 20 6c 69 6e 67 |PC) daem|ons ling|
|00005c20| 65 72 20 61 72 6f 75 6e | 64 20 66 6f 72 20 61 20 |er aroun|d for a |
|00005c30| 77 68 69 6c 65 20 61 66 | 74 65 72 20 74 68 65 79 |while af|ter they|
|00005c40| 20 68 61 76 65 0a 58 73 | 65 72 76 69 63 65 64 20 | have.Xs|erviced |
|00005c50| 61 20 72 65 71 75 65 73 | 74 2c 20 6a 75 73 74 20 |a reques|t, just |
|00005c60| 69 6e 20 63 61 73 65 20 | 61 6e 6f 74 68 65 72 20 |in case |another |
|00005c70| 72 65 71 75 65 73 74 20 | 63 6f 6d 65 73 20 69 6e |request |comes in|
|00005c80| 2e 20 20 49 6e 20 74 68 | 65 0a 58 69 6e 65 74 64 |. In th|e.Xinetd|
|00005c90| 20 63 6f 6e 66 69 67 75 | 72 61 74 69 6f 6e 20 66 | configu|ration f|
|00005ca0| 69 6c 65 20 74 68 65 73 | 65 20 64 61 65 6d 6f 6e |ile thes|e daemon|
|00005cb0| 73 20 61 72 65 20 72 65 | 67 69 73 74 65 72 65 64 |s are re|gistered|
|00005cc0| 20 77 69 74 68 20 74 68 | 65 20 60 77 61 69 74 27 | with th|e `wait'|
|00005cd0| 0a 58 6f 70 74 69 6f 6e | 2e 20 4f 6e 6c 79 20 74 |.Xoption|. Only t|
|00005ce0| 68 65 20 72 65 71 75 65 | 73 74 20 74 68 61 74 20 |he reque|st that |
|00005cf0| 73 74 61 72 74 65 64 20 | 73 75 63 68 20 61 20 64 |started |such a d|
|00005d00| 61 65 6d 6f 6e 20 77 69 | 6c 6c 20 62 65 20 73 65 |aemon wi|ll be se|
|00005d10| 65 6e 20 62 79 20 74 68 | 65 0a 58 77 72 61 70 70 |en by th|e.Xwrapp|
|00005d20| 65 72 73 2e 20 20 54 68 | 69 73 20 72 65 73 74 72 |ers. Th|is restr|
|00005d30| 69 63 74 69 6f 6e 20 64 | 6f 65 73 20 6e 6f 74 20 |iction d|oes not |
|00005d40| 61 70 70 6c 79 20 74 6f | 20 63 6f 6e 6e 65 63 74 |apply to| connect|
|00005d50| 69 6f 6e 2d 6f 72 69 65 | 6e 74 65 64 20 28 54 43 |ion-orie|nted (TC|
|00005d60| 50 29 0a 58 73 65 72 76 | 69 63 65 73 2e 0a 58 0a |P).Xserv|ices..X.|
|00005d70| 58 54 4c 49 20 28 74 72 | 61 6e 73 70 6f 72 74 20 |XTLI (tr|ansport |
|00005d80| 6c 65 76 65 6c 20 69 6e | 74 65 72 66 61 63 65 29 |level in|terface)|
|00005d90| 2c 20 74 68 65 20 53 79 | 73 74 65 6d 20 56 20 73 |, the Sy|stem V s|
|00005da0| 74 72 65 61 6d 2d 62 61 | 73 65 64 20 61 6e 64 0a |tream-ba|sed and.|
|00005db0| 58 70 72 6f 74 6f 63 6f | 6c 2d 69 6e 64 65 70 65 |Xprotoco|l-indepe|
|00005dc0| 6e 64 65 6e 74 20 6e 65 | 74 77 6f 72 6b 20 70 72 |ndent ne|twork pr|
|00005dd0| 6f 67 72 61 6d 6d 69 6e | 67 20 69 6e 74 65 72 66 |ogrammin|g interf|
|00005de0| 61 63 65 2c 20 69 73 20 | 6e 6f 74 20 79 65 74 0a |ace, is |not yet.|
|00005df0| 58 73 75 70 70 6f 72 74 | 65 64 2c 20 62 75 74 20 |Xsupport|ed, but |
|00005e00| 77 65 27 72 65 20 77 6f | 72 6b 69 6e 67 20 6f 6e |we're wo|rking on|
|00005e10| 20 69 74 2e 0a 58 0a 58 | 54 68 65 20 77 72 61 70 | it..X.X|The wrap|
|00005e20| 70 65 72 73 20 64 6f 20 | 6e 6f 74 20 77 6f 72 6b |pers do |not work|
|00005e30| 20 77 69 74 68 20 52 50 | 43 20 73 65 72 76 69 63 | with RP|C servic|
|00005e40| 65 73 20 6f 76 65 72 20 | 54 43 50 2e 20 54 68 65 |es over |TCP. The|
|00005e50| 73 65 20 73 65 72 76 69 | 63 65 73 20 61 72 65 0a |se servi|ces are.|
|00005e60| 58 72 65 67 69 73 74 65 | 72 65 64 20 61 73 20 72 |Xregiste|red as r|
|00005e70| 70 63 2f 74 63 70 20 69 | 6e 20 74 68 65 20 69 6e |pc/tcp i|n the in|
|00005e80| 65 74 64 20 63 6f 6e 66 | 69 67 75 72 61 74 69 6f |etd conf|iguratio|
|00005e90| 6e 20 66 69 6c 65 2e 20 | 54 68 65 20 6f 6e 6c 79 |n file. |The only|
|00005ea0| 20 6e 6f 6e 2d 0a 58 74 | 72 69 76 69 61 6c 20 73 | non-.Xt|rivial s|
|00005eb0| 65 72 76 69 63 65 20 74 | 68 61 74 20 69 73 20 61 |ervice t|hat is a|
|00005ec0| 66 66 65 63 74 65 64 20 | 62 79 20 74 68 69 73 20 |ffected |by this |
|00005ed0| 6c 69 6d 69 74 61 74 69 | 6f 6e 20 69 73 20 72 65 |limitati|on is re|
|00005ee0| 78 64 2c 20 77 68 69 63 | 68 20 69 73 0a 58 75 73 |xd, whic|h is.Xus|
|00005ef0| 65 64 20 62 79 20 74 68 | 65 20 6f 6e 28 31 29 20 |ed by th|e on(1) |
|00005f00| 63 6f 6d 6d 61 6e 64 2e | 20 54 68 69 73 20 69 73 |command.| This is|
|00005f10| 20 6e 6f 20 67 72 65 61 | 74 20 6c 6f 73 73 2e 20 | no grea|t loss. |
|00005f20| 20 4f 6e 20 6d 6f 73 74 | 20 73 79 73 74 65 6d 73 | On most| systems|
|00005f30| 2c 0a 58 72 65 78 64 20 | 69 73 20 6c 65 73 73 20 |,.Xrexd |is less |
|00005f40| 73 65 63 75 72 65 20 74 | 68 61 6e 20 61 20 77 69 |secure t|han a wi|
|00005f50| 6c 64 63 61 72 64 20 69 | 6e 20 2f 65 74 63 2f 68 |ldcard i|n /etc/h|
|00005f60| 6f 73 74 73 2e 65 71 75 | 69 76 2e 0a 58 0a 58 52 |osts.equ|iv..X.XR|
|00005f70| 50 43 20 62 72 6f 61 64 | 63 61 73 74 20 72 65 71 |PC broad|cast req|
|00005f80| 75 65 73 74 73 20 28 66 | 6f 72 20 65 78 61 6d 70 |uests (f|or examp|
|00005f90| 6c 65 3a 20 72 77 61 6c | 6c 2c 20 72 75 70 2c 20 |le: rwal|l, rup, |
|00005fa0| 72 75 73 65 72 73 29 20 | 61 6c 77 61 79 73 20 61 |rusers) |always a|
|00005fb0| 70 70 65 61 72 0a 58 74 | 6f 20 63 6f 6d 65 20 66 |ppear.Xt|o come f|
|00005fc0| 72 6f 6d 20 74 68 65 20 | 72 65 73 70 6f 6e 64 69 |rom the |respondi|
|00005fd0| 6e 67 20 68 6f 73 74 2e | 20 57 68 61 74 20 68 61 |ng host.| What ha|
|00005fe0| 70 70 65 6e 73 20 69 73 | 20 74 68 61 74 20 74 68 |ppens is| that th|
|00005ff0| 65 20 63 6c 69 65 6e 74 | 0a 58 62 72 6f 61 64 63 |e client|.Xbroadc|
|00006000| 61 73 74 73 20 69 74 73 | 20 72 65 71 75 65 73 74 |asts its| request|
|00006010| 20 74 6f 20 61 6c 6c 20 | 70 6f 72 74 6d 61 70 20 | to all |portmap |
|00006020| 64 61 65 6d 6f 6e 73 20 | 6f 6e 20 69 74 73 20 6e |daemons |on its n|
|00006030| 65 74 77 6f 72 6b 3b 20 | 65 61 63 68 0a 58 70 6f |etwork; |each.Xpo|
|00006040| 72 74 6d 61 70 20 64 61 | 65 6d 6f 6e 20 66 6f 72 |rtmap da|emon for|
|00006050| 77 61 72 64 73 20 74 68 | 65 20 72 65 71 75 65 73 |wards th|e reques|
|00006060| 74 20 74 6f 20 69 74 73 | 20 6f 77 6e 20 73 79 73 |t to its| own sys|
|00006070| 74 65 6d 2e 20 41 73 20 | 66 61 72 20 61 73 20 74 |tem. As |far as t|
|00006080| 68 65 0a 58 72 77 61 6c | 6c 20 65 74 63 2e 20 20 |he.Xrwal|l etc. |
|00006090| 64 61 65 6d 6f 6e 73 20 | 6b 6e 6f 77 2c 20 74 68 |daemons |know, th|
|000060a0| 65 20 72 65 71 75 65 73 | 74 20 63 6f 6d 65 73 20 |e reques|t comes |
|000060b0| 66 72 6f 6d 20 74 68 65 | 20 6c 6f 63 61 6c 20 68 |from the| local h|
|000060c0| 6f 73 74 2e 0a 58 0a 58 | 50 6f 72 74 6d 61 70 20 |ost..X.X|Portmap |
|000060d0| 61 6e 64 20 52 50 43 20 | 28 65 2e 67 2e 20 4e 49 |and RPC |(e.g. NI|
|000060e0| 53 20 61 6e 64 20 4e 46 | 53 29 20 73 65 63 75 72 |S and NF|S) secur|
|000060f0| 69 74 79 20 69 73 20 61 | 20 74 6f 70 69 63 20 69 |ity is a| topic i|
|00006100| 6e 20 69 74 73 65 6c 66 | 2e 20 53 65 65 0a 58 74 |n itself|. See.Xt|
|00006110| 68 65 20 73 65 63 74 69 | 6f 6e 20 69 6e 20 74 68 |he secti|on in th|
|00006120| 69 73 20 64 6f 63 75 6d | 65 6e 74 20 6f 6e 20 72 |is docum|ent on r|
|00006130| 65 6c 61 74 65 64 20 73 | 6f 66 74 77 61 72 65 2e |elated s|oftware.|
|00006140| 0a 58 0a 58 36 2e 32 20 | 2d 20 4b 6e 6f 77 6e 20 |.X.X6.2 |- Known |
|00006150| 73 79 73 74 65 6d 20 73 | 6f 66 74 77 61 72 65 20 |system s|oftware |
|00006160| 62 75 67 73 0a 58 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |bugs.X--|--------|
|00006170| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00006180| 2d 2d 2d 2d 2d 2d 0a 58 | 0a 58 57 6f 72 6b 61 72 |------.X|.XWorkar|
|00006190| 6f 75 6e 64 73 20 68 61 | 76 65 20 62 65 65 6e 20 |ounds ha|ve been |
|000061a0| 69 6d 70 6c 65 6d 65 6e | 74 65 64 20 66 6f 72 20 |implemen|ted for |
|000061b0| 73 65 76 65 72 61 6c 20 | 62 75 67 73 20 69 6e 20 |several |bugs in |
|000061c0| 73 79 73 74 65 6d 20 73 | 6f 66 74 77 61 72 65 2e |system s|oftware.|
|000061d0| 0a 58 54 68 65 79 20 61 | 72 65 20 64 65 73 63 72 |.XThey a|re descr|
|000061e0| 69 62 65 64 20 69 6e 20 | 74 68 65 20 4d 61 6b 65 |ibed in |the Make|
|000061f0| 66 69 6c 65 2e 20 55 6e | 66 6f 72 74 75 6e 61 74 |file. Un|fortunat|
|00006200| 65 6c 79 2c 20 73 6f 6d | 65 20 73 79 73 74 65 6d |ely, som|e system|
|00006210| 20 73 6f 66 74 77 61 72 | 65 0a 58 62 75 67 73 20 | softwar|e.Xbugs |
|00006220| 63 61 6e 6e 6f 74 20 62 | 65 20 77 6f 72 6b 65 64 |cannot b|e worked|
|00006230| 20 61 72 6f 75 6e 64 2e | 20 54 68 65 20 72 65 73 | around.| The res|
|00006240| 75 6c 74 20 69 73 20 6c | 6f 73 73 20 6f 66 20 66 |ult is l|oss of f|
|00006250| 75 6e 63 74 69 6f 6e 61 | 6c 69 74 79 2e 0a 58 0a |unctiona|lity..X.|
|00006260| 58 4f 6c 64 65 72 20 43 | 6f 6e 76 65 78 4f 53 20 |XOlder C|onvexOS |
|00006270| 76 65 72 73 69 6f 6e 73 | 20 63 6f 6d 65 20 77 69 |versions| come wi|
|00006280| 74 68 20 61 20 62 72 6f | 6b 65 6e 20 72 65 63 76 |th a bro|ken recv|
|00006290| 66 72 6f 6d 28 32 29 20 | 69 6d 70 6c 65 6d 65 6e |from(2) |implemen|
|000062a0| 74 61 74 69 6f 6e 2e 0a | 58 54 68 69 73 20 6d 61 |tation..|XThis ma|
|000062b0| 6b 65 73 20 69 74 20 69 | 6d 70 6f 73 73 69 62 6c |kes it i|mpossibl|
|000062c0| 65 20 66 6f 72 20 74 68 | 65 20 64 61 65 6d 6f 6e |e for th|e daemon|
|000062d0| 20 77 72 61 70 70 65 72 | 73 20 74 6f 20 6c 6f 6f | wrapper|s to loo|
|000062e0| 6b 20 75 70 20 74 68 65 | 0a 58 72 65 6d 6f 74 65 |k up the|.Xremote|
|000062f0| 20 68 6f 73 74 20 61 64 | 64 72 65 73 73 20 28 61 | host ad|dress (a|
|00006300| 6e 64 20 68 65 6e 63 65 | 2c 20 74 68 65 20 6e 61 |nd hence|, the na|
|00006310| 6d 65 29 20 69 6e 20 63 | 61 73 65 20 6f 66 20 55 |me) in c|ase of U|
|00006320| 44 50 20 72 65 71 75 65 | 73 74 73 2e 0a 58 41 20 |DP reque|sts..XA |
|00006330| 70 61 74 63 68 20 69 73 | 20 61 76 61 69 6c 61 62 |patch is| availab|
|00006340| 6c 65 20 66 6f 72 20 43 | 6f 6e 76 65 78 4f 53 20 |le for C|onvexOS |
|00006350| 31 30 2e 31 3b 20 6c 61 | 74 65 72 20 72 65 6c 65 |10.1; la|ter rele|
|00006360| 61 73 65 73 20 73 68 6f | 75 6c 64 20 62 65 20 4f |ases sho|uld be O|
|00006370| 4b 2e 0a 58 0a 58 4f 6e | 20 73 6f 6d 65 20 73 79 |K..X.XOn| some sy|
|00006380| 73 74 65 6d 73 2c 20 74 | 68 65 20 6f 70 74 69 6f |stems, t|he optio|
|00006390| 6e 61 6c 20 52 46 43 20 | 39 33 31 20 72 65 6d 6f |nal RFC |931 remo|
|000063a0| 74 65 20 75 73 65 72 6e | 61 6d 65 20 6c 6f 6f 6b |te usern|ame look|
|000063b0| 75 70 73 20 6d 61 79 0a | 58 74 72 69 67 67 65 72 |ups may.|Xtrigger|
|000063c0| 20 61 20 6b 65 72 6e 65 | 6c 20 62 75 67 2e 20 20 | a kerne|l bug. |
|000063d0| 57 68 65 6e 20 61 20 63 | 6c 69 65 6e 74 20 68 6f |When a c|lient ho|
|000063e0| 73 74 20 63 6f 6e 6e 65 | 63 74 73 20 74 6f 20 79 |st conne|cts to y|
|000063f0| 6f 75 72 20 73 79 73 74 | 65 6d 2c 20 61 6e 64 0a |our syst|em, and.|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.